diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index b32962f9e3..96cd5a1e38 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -142,7 +142,7 @@ if (MSVC) endif() # Create the library target -gz_create_core_library(SOURCES ${sources}) +gz_create_core_library(SOURCES ${sources} CXX_STANDARD 17) target_link_libraries(${PROJECT_LIBRARY_TARGET_NAME} PUBLIC gz-math${GZ_MATH_VER}