mirror of
https://github.com/mfontanini/libtins
synced 2026-01-23 02:35:57 +01:00
Update CMake minimum required version to 3.10 (#553)
CMake 4 removed compatibility with CMake versions < 3.5, and versions between 3.5-3.10 are deprecated. This change updates the minimum required version to 3.10 to ensure compatibility with modern CMake versions including CMake 4.x. This issue is affecting NixOS users (see https://github.com/NixOS/nixpkgs/issues/450198) and will likely impact other distributions as they upgrade to CMake 4.x.
This commit is contained in:
@@ -50,7 +50,7 @@ if (NOT CMAKE_CXX_COMPILER_LOADED)
|
||||
message(FATAL_ERROR "CheckCXX11Features modules only works if language CXX is enabled")
|
||||
endif ()
|
||||
|
||||
cmake_minimum_required(VERSION 2.8.3)
|
||||
cmake_minimum_required(VERSION 3.10)
|
||||
|
||||
#
|
||||
### Check for needed compiler flags
|
||||
|
||||
Reference in New Issue
Block a user