We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2e8e974 commit 9302e44Copy full SHA for 9302e44
1 file changed
test/CMakeLists.txt
@@ -31,9 +31,12 @@ include(CheckCXXCompilerFlag)
31
32
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
33
34
-include(set_compiler_flag.cmake)
+#include(set_compiler_flag.cmake)
35
36
-set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
+if (NOT WIN32)
37
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
38
+else()
39
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /std:c++17")
40
41
#[[if(CPP20)
42
# User requested C++20, but compiler might not oblige.
0 commit comments