diff --git a/ext/ghoul b/ext/ghoul index bcb1732e7a..b1ee754001 160000 --- a/ext/ghoul +++ b/ext/ghoul @@ -1 +1 @@ -Subproject commit bcb1732e7aa8b814dcd103c01fa41f32bf189f37 +Subproject commit b1ee75400104342b26655e2387ae34255b593f39 diff --git a/support/cmake/support_macros.cmake b/support/cmake/support_macros.cmake index bc74284e03..bd6ddc8ac4 100644 --- a/support/cmake/support_macros.cmake +++ b/support/cmake/support_macros.cmake @@ -64,7 +64,7 @@ endfunction () function (set_compile_settings project) - set_property(TARGET ${project} PROPERTY CXX_STANDARD 14) + set_property(TARGET ${project} PROPERTY CXX_STANDARD 17) set_property(TARGET ${project} PROPERTY CXX_STANDARD_REQUIRED On) if (MSVC) @@ -74,6 +74,8 @@ function (set_compile_settings project) "/ZI" # Edit and continue support "/wd4201" # Disable "nameless struct" warning "/wd4127" # Disable "conditional expression is constant" warning + "/std:c++latest" + "/permissive-" ) if (OPENSPACE_WARNINGS_AS_ERRORS) target_compile_options(${project} PRIVATE "/WX")