summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorJoshua Vandaƫle <joshua@vandaele.software>2026-01-08 22:51:39 +0100
committerJoshua Vandaƫle <joshua@vandaele.software>2026-01-17 23:53:21 +0100
commite822cc3715b94b6736fbadbac748e8c09973df24 (patch)
tree654951d452263527ae575f8e3b602033ac154565 /CMakeLists.txt
parentb556bd99d72d996364f423b663af5d02a9610c4f (diff)
c++23: Replace Common::Unreachable with std::unreachable
Requires at least GCC 12, Clang 15, MSVC 19.32, or AppleClang 14.0.3.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b57ecc08c1..f16030737d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -39,11 +39,11 @@ if (COMPILER STREQUAL "GNU")
endif()
# Enforce minimum compiler versions that support the c++23 features we use
-set (GCC_min_version 11)
-set (Clang_min_version 14)
+set (GCC_min_version 12)
+set (Clang_min_version 15)
set (AppleClang_min_version 14.0.3)
-set (min_xcode_version "14.0") # corresponding xcode version for AppleClang_min_version
-set (MSVC_min_version 19.30)
+set (min_xcode_version "14.3") # corresponding xcode version for AppleClang_min_version
+set (MSVC_min_version 19.32)
set (min_vs_version "2022 17.2.3") # corresponding Visual Studio version for MSVC_min_version
message(STATUS "Using ${COMPILER} ${CMAKE_CXX_COMPILER_VERSION}")