Skip to content

Commit 9302e44

Browse files
committed
..
1 parent 2e8e974 commit 9302e44

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

test/CMakeLists.txt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,9 +31,12 @@ include(CheckCXXCompilerFlag)
3131

3232
string(TOUPPER "${CMAKE_BUILD_TYPE}" U_CMAKE_BUILD_TYPE)
3333

34-
include(set_compiler_flag.cmake)
34+
#include(set_compiler_flag.cmake)
3535

36-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++17")
36+
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")
3740

3841
#[[if(CPP20)
3942
# User requested C++20, but compiler might not oblige.

0 commit comments

Comments
 (0)