summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2026-01-17 16:49:57 -0600
committerGitHub <noreply@github.com>2026-01-17 16:49:57 -0600
commitb556bd99d72d996364f423b663af5d02a9610c4f (patch)
tree9942d30854cbe59a390221087486ab64254e9ba7 /CMakeLists.txt
parent8a606fca88a81b5a24d8cc53e5eaba91f2e38fbd (diff)
parent55f0715ad4edf4485bc7b35e49fbd883ce760e47 (diff)
Merge pull request #14268 from JoshuaVandaele/std-tounderlying
c++23: Replace Common::ToUnderlying with std::to_underlying
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 25f69157be..b57ecc08c1 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -38,12 +38,12 @@ if (COMPILER STREQUAL "GNU")
set(COMPILER "GCC") # prefer printing GCC instead of GNU
endif()
-# Enforce minimum compiler versions that support the c++20 features we use
+# Enforce minimum compiler versions that support the c++23 features we use
set (GCC_min_version 11)
set (Clang_min_version 14)
set (AppleClang_min_version 14.0.3)
set (min_xcode_version "14.0") # corresponding xcode version for AppleClang_min_version
-set (MSVC_min_version 14.32)
+set (MSVC_min_version 19.30)
set (min_vs_version "2022 17.2.3") # corresponding Visual Studio version for MSVC_min_version
message(STATUS "Using ${COMPILER} ${CMAKE_CXX_COMPILER_VERSION}")