Skip to content

Commit f92dc46

Browse files
committed
Update CMake minimum required version to 3.10
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 NixOS/nixpkgs#450198) and will likely impact other distributions as they upgrade to CMake 4.x.
1 parent fe22186 commit f92dc46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
CMAKE_MINIMUM_REQUIRED(VERSION 2.8.1)
1+
CMAKE_MINIMUM_REQUIRED(VERSION 3.10)
22
PROJECT(libtins)
33

44
OPTION(LIBTINS_BUILD_EXAMPLES "Build examples" ON)

0 commit comments

Comments
 (0)