diff --git a/detectors/simulator/src/CMakeLists.txt b/detectors/simulator/src/CMakeLists.txt index 7d1e1171aac5c590fcc6171d9874ccb035994cc6..9a4f0d46fa3474342415aefcf9f95a48ab321743 100644 --- a/detectors/simulator/src/CMakeLists.txt +++ b/detectors/simulator/src/CMakeLists.txt @@ -11,7 +11,7 @@ add_library(simulator SHARED # Set compile and link properties set_target_properties(simulator PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) @@ -53,7 +53,7 @@ target_link_libraries(simulator_ctrl ) set_target_properties(simulator_ctrl PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) @@ -78,7 +78,7 @@ target_link_libraries(simulator_recv ) set_target_properties(simulator_recv PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) diff --git a/processings/cuda/src/CMakeLists.txt b/processings/cuda/src/CMakeLists.txt index fca9e6d8b7f9f189f2af9b906b88d5fa6b1c62dd..be6e38118dcd1dcc3b6fd23206a7ed51dd23a9a2 100644 --- a/processings/cuda/src/CMakeLists.txt +++ b/processings/cuda/src/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(pipeline_cuda SHARED # Set compile and link properties set_target_properties(pipeline_cuda PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) diff --git a/processings/legacy/src/CMakeLists.txt b/processings/legacy/src/CMakeLists.txt index 38c12a3012f7fbed3cc430e94733096e87f3a29e..711cea0e43d3c28a8fab0a635a946fb71c2fbdf0 100644 --- a/processings/legacy/src/CMakeLists.txt +++ b/processings/legacy/src/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(pipeline_legacy SHARED # Set compile and link properties set_target_properties(pipeline_legacy PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) diff --git a/processings/smx/src/CMakeLists.txt b/processings/smx/src/CMakeLists.txt index 98c3cc15ac738f3f264d88b940254aa8d038cefe..dc5528ab1bd0cf91579b57a314597c87e467ad90 100644 --- a/processings/smx/src/CMakeLists.txt +++ b/processings/smx/src/CMakeLists.txt @@ -10,7 +10,7 @@ add_library(pipeline_smx SHARED # Set compile and link properties set_target_properties(pipeline_smx PROPERTIES - INTERPROCEDURAL_OPTIMIZATION ON + INTERPROCEDURAL_OPTIMIZATION_RELEASE ON CXX_VISIBILITY_PRESET hidden VISIBLITY_INLINES_HIDDEN hidden ) @@ -49,4 +49,4 @@ install( ) set (PROJECT_LIBRARIES lima_core pipeline_smx) -include(PackageConfig) \ No newline at end of file +include(PackageConfig)