diff --git a/CMakeLists.txt b/CMakeLists.txt index f3594023d..520d478d0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -81,6 +81,8 @@ if(MSVC) use_props(${PROJECT_NAME} "${CMAKE_CONFIGURATION_TYPES}" "${DEFAULT_CXX_PROPS}") + set_target_properties (${PROJECT_NAME} PROPERTIES CXX_STANDARD 17) + ################################################################################ # Include necessary .cmake file (need to init use_props first) ################################################################################