diff --git a/CMakeLists.txt b/CMakeLists.txt index 11f95d00b..e18d88d31 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -80,6 +80,7 @@ elseif(CMAKE_CXX_COMPILER_ID MATCHES "Clang") message(FATAL_ERROR "AppleClang 14.0 or higher required for C++23 support") elseif (NOT APPLE AND CMAKE_CXX_COMPILER_VERSION VERSION_LESS "16.0") message(FATAL_ERROR "Clang 16.0 or higher required for C++23 support") + endif() endif() # Set NOMINMAX to avoid min/max macro errors on Windows in date.h