From 5f506a828c0fd719dfc9b0a1e2d9b6bf60a2f543 Mon Sep 17 00:00:00 2001 From: Adam Getchell Date: Fri, 1 Nov 2024 18:13:04 -0700 Subject: [PATCH] fix: CMake control flow --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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