diff --git a/source/RobotAPI/components/EarlyVisionGraph/CMakeLists.txt b/source/RobotAPI/components/EarlyVisionGraph/CMakeLists.txt index 3398169a541f572de495643794620d2d489087f0..58fea22f8574fb605305353d66d31ec6dc819147 100644 --- a/source/RobotAPI/components/EarlyVisionGraph/CMakeLists.txt +++ b/source/RobotAPI/components/EarlyVisionGraph/CMakeLists.txt @@ -29,6 +29,8 @@ set(HEADERS #@TEMPLATE_LINE@@COMPONENT_PATH@/@COMPONENT_NAME@.h ) +# compile this lib always with optimizations since it is too slow for the ViewSelection otherwise +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -O3 ") armarx_add_component("${SOURCES}" "${HEADERS}")