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}")