diff --git a/Ros2Native/CMakeLists.txt b/Ros2Native/CMakeLists.txt index 31d8a92dd..95fe48ef5 100644 --- a/Ros2Native/CMakeLists.txt +++ b/Ros2Native/CMakeLists.txt @@ -12,7 +12,7 @@ set (PROJECT_INSTALL_PATH ${CMAKE_CURRENT_BINARY_DIR}/install) set (PROJECT_CMAKE_FLAGS -DCMAKE_CXX_COMPILER=${GXX_COMPILER} -DCMAKE_C_COMPILER=${GCC_COMPILER} - -DCMAKE_BUILD_TYPE=Release + -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} -DCMAKE_CXX_FLAGS_RELEASE=-D_GLIBCXX_USE_CXX11_ABI=0 -DCMAKE_INSTALL_PREFIX=${PROJECT_INSTALL_PATH} )