From ef554376089292fe3d0d39b4bdc16a49d4bec3d6 Mon Sep 17 00:00:00 2001 From: Adrien Bertrand Date: Mon, 10 Jun 2024 23:37:43 +0200 Subject: [PATCH] fix typo --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9519637..b440ed8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -6,7 +6,7 @@ project(tivars_lib_cpp include(CheckCXXCompilerFlag) if(MSVC) - CHECK_CXX_COMPILER_FLAG("/std::c++20" COMPILER_SUPPORTS_CXX20) + CHECK_CXX_COMPILER_FLAG("/std:c++20" COMPILER_SUPPORTS_CXX20) else() CHECK_CXX_COMPILER_FLAG("-std=c++2a" COMPILER_SUPPORTS_CXX20) endif()