diff --git a/CMakeLists.txt b/CMakeLists.txt index e10c427..cdb24c2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -17,6 +17,9 @@ endif () set(CMAKE_CXX_STANDARD 23) set(CMAKE_CXX_STANDARD_REQUIRED ON) set(CMAKE_CXX_EXTENSIONS OFF) +if (MSVC) + add_compile_options(/std:c++latest) +endif() if (MSVC) set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreadedDLL")