From a5a70449e4673e8a427febf2c8c52dbe03d09596 Mon Sep 17 00:00:00 2001 From: spectre-ns Date: Fri, 18 Mar 2022 20:59:53 -0300 Subject: [PATCH] Updated C++20 option for visual studio builds C++2a no longer a valid std option. --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 08acd4d82..3a00ad3ea 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -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")