diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 313883004..7dbb95369 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -162,6 +162,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}