Skip to content

Commit

Permalink
Updated C++20 option for visual studio builds C++2a no longer a valid…
Browse files Browse the repository at this point in the history
… std option.
  • Loading branch information
spectre-ns committed Mar 18, 2022
1 parent f603205 commit a5a7044
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ elseif(CPP20)
set_compiler_flag(
_cxx_std_flag CXX
"-std=c++2a" # this should work with GNU, Intel, PGI
"/std:c++2a" # this should work with MSVC
"/std:c++20" # this should work with MSVC
)
if(_cxx_std_flag)
message(STATUS "Building with C++20")
Expand Down

0 comments on commit a5a7044

Please sign in to comment.