From 47d0a3ff4c4a3ad0710e9d1fd017ec6a59d411cd Mon Sep 17 00:00:00 2001 From: Krzysztof Piaskowy Date: Wed, 13 Nov 2024 12:17:51 +0100 Subject: [PATCH] test windows v10 --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index fbb4f0a3c5d..6a54b0364ad 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -569,6 +569,7 @@ elseif ("${CMAKE_CXX_COMPILER_ID}" MATCHES "MSVC") # string(APPEND CMAKE_C_FLAGS " -d2UndefIntOverflow-") # string(APPEND CMAKE_CXX_FLAGS " -d2UndefIntOverflow-") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++20") endif() # Export a JSON file with the compilation commands that external tools can use