From 67de1421862f75bb83497778f5bd713fa18a5e42 Mon Sep 17 00:00:00 2001 From: ruslan-ilesik Date: Fri, 19 Jul 2024 17:25:08 +0200 Subject: [PATCH] allow higher version of c++ then c++20 --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cb5a6e23f..096220b596 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -117,7 +117,7 @@ else() endif() -if(CMAKE_CXX_STANDARD EQUAL 20 OR DPP_CORO) +if(CMAKE_CXX_STANDARD GREATER_EQUAL 20 OR DPP_CORO) include(CheckCXXSourceCompiles) unset(HAS_FORMAT CACHE) set(temp_flags "${CMAKE_REQUIRED_FLAGS}")