CMake: update required compiler versions for std::bitcast support
This is based on https://en.cppreference.com/w/cpp/compiler_support. I'm not actually entirely sure what the needed Xcode version is.
This commit is contained in:
parent
cb71d84908
commit
e98a0859b9
|
@ -47,13 +47,13 @@ if (COMPILER STREQUAL "GNU")
|
||||||
set(COMPILER "GCC") # perfer printing GCC instead of GNU
|
set(COMPILER "GCC") # perfer printing GCC instead of GNU
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Enforce minimium compiler versions that support the c++20 features we use
|
# Enforce minimum compiler versions that support the c++20 features we use
|
||||||
set (GCC_min_version 10)
|
set (GCC_min_version 11)
|
||||||
set (Clang_min_version 12)
|
set (Clang_min_version 14)
|
||||||
set (AppleClang_min_version 13.0.0)
|
set (AppleClang_min_version 14.0.3)
|
||||||
set (min_xcode_version "13.0") # corrosponding xcode version for AppleClang_min_version
|
set (min_xcode_version "14.0") # corresponding xcode version for AppleClang_min_version
|
||||||
set (MSVC_min_version 14.32)
|
set (MSVC_min_version 14.32)
|
||||||
set (min_vs_version "2022 17.2.3") # corrosponding Visual Studio version for MSVC_min_version
|
set (min_vs_version "2022 17.2.3") # corresponding Visual Studio version for MSVC_min_version
|
||||||
|
|
||||||
message(STATUS "Using ${COMPILER} ${CMAKE_CXX_COMPILER_VERSION}")
|
message(STATUS "Using ${COMPILER} ${CMAKE_CXX_COMPILER_VERSION}")
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue