Skip to content

Commit 4880566

Browse files
committed
We don't require "c++latest", only "c++17"
1 parent e552c5d commit 4880566

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/json/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ foreach (testsourcefile ${testsources})
77
set_property (TARGET ${exename} PROPERTY CXX_EXTENSIONS OFF)
88
target_link_libraries (${exename} taocpp::json)
99
if (MSVC)
10-
target_compile_options (${exename} PRIVATE /std:c++latest /W4 /WX /utf-8)
10+
target_compile_options (${exename} PRIVATE /std:c++17 /W4 /WX /utf-8)
1111
else ()
1212
target_compile_options (${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror)
1313
endif ()

0 commit comments

Comments
 (0)