diff --git a/CMakeLists.txt b/CMakeLists.txt index b31883f96..3a19bc2fe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ enable_language (CXX) if (MSVC) set (CMAKE_CXX_STANDARD 23) if (CMAKE_VS_PLATFORM_NAME MATCHES "ARM") - set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc") + set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /EHsc /std:c++latest") endif () else () set (CMAKE_CXX_STANDARD 23)