Skip to content

Commit 4a0a260

Browse files
committed
Try latest C++ standard setting for Visual Studio
1 parent c9bf35a commit 4a0a260

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 /W4 /WX /utf-8)
10+
target_compile_options (${exename} PRIVATE /std:c++latest /W4 /WX /utf-8)
1111
else ()
1212
target_compile_options (${exename} PRIVATE -pedantic -Wall -Wextra -Wshadow -Werror)
1313
endif ()

0 commit comments

Comments
 (0)