diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index ea2e68e0f..58b93a2ef 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -164,6 +164,7 @@ if (NOT WIN32) endif() sdf_add_library(${sdf_target} ${sources}) +target_compile_features(${sdf_target} PUBLIC cxx_std_17) target_link_libraries(${sdf_target} PUBLIC ${IGNITION-MATH_LIBRARIES}) target_include_directories(${sdf_target}