Skip to content

Commit b2e23d0

Browse files
authored
Merge pull request #2497 from spectre-ns/master
Updated C++20 option for visual studio builds C++2a no longer a valid…
2 parents f603205 + a5a7044 commit b2e23d0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ elseif(CPP20)
5151
set_compiler_flag(
5252
_cxx_std_flag CXX
5353
"-std=c++2a" # this should work with GNU, Intel, PGI
54-
"/std:c++2a" # this should work with MSVC
54+
"/std:c++20" # this should work with MSVC
5555
)
5656
if(_cxx_std_flag)
5757
message(STATUS "Building with C++20")

0 commit comments

Comments
 (0)