mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 13:27:14 +02:00
cleaned up LTO detection
This commit is contained in:
@ -29,8 +29,8 @@ add_library(slsReceiverShared SHARED
|
||||
${HEADERS}
|
||||
)
|
||||
|
||||
check_ipo_supported(RESULT result)
|
||||
if(result)
|
||||
|
||||
if(SLS_LTO_AVAILABLE)
|
||||
set_property(TARGET slsReceiverShared PROPERTY INTERPROCEDURAL_OPTIMIZATION True)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user