diff --git a/CMakeLists.txt b/CMakeLists.txt index 33d4de25345..0c44e321874 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -109,7 +109,7 @@ endif() include(${PROJECT_SOURCE_DIR}/cmake/common/check_configuration.cmake) set(FORCE_CXX "11" CACHE STRING "C++ standard fulfillment selection") -check_stdcxx(${FORCE_CXX}) +check_stdcxx(${FORCE_CXX} run_fallback_test) check_endianness() diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index c2d9cf2641b..c409040e976 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -14,7 +14,7 @@ # Require C++ 14 for testing as both GTest v1.14.0 and ROS 2 Jazzy require it anyways set(FORCE_CXX "14") -check_stdcxx(${FORCE_CXX}) +check_stdcxx(${FORCE_CXX} run_fallback_test) option(PERFORMANCE_TESTS "Activate the building and execution of performance tests" OFF) option(SYSTEM_TESTS "Activate the building and execution of system tests" OFF)