Skip to content

Commit edeaa5f

Browse files
committed
cmake: update the minimum required version
For CMake 4.0, compatibility with versions of CMake older than 3.5 has been removed [1]. Thus, on macOS it leads to the error on build, since Homebrew updates it to version 4.0. This patch sets the minimum required version to 3.5 for now. [1]: https://cmake.org/cmake/help/latest/release/4.0.html#deprecated-and-removed-features
1 parent cec6ace commit edeaa5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
cmake_minimum_required (VERSION 3.1 FATAL_ERROR)
1+
cmake_minimum_required (VERSION 3.5 FATAL_ERROR)
22

33
project(cdt)
44

0 commit comments

Comments
 (0)