Skip to content

Commit a5a7044

Browse files
committed
Updated C++20 option for visual studio builds C++2a no longer a valid std option.
1 parent f603205 commit a5a7044

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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)