Skip to content

Commit ca28a23

Browse files
authored
COMP: Support build using CMake 4+ by consistently requiring CMake 3.16.3 (#1236)
Ensure consistent use of the updated CMake minimum version across all configuration checks to support future compatibility with CMake 4. This follows up on commit e081be7 ("ENH: Increase minimum required CMake version to 3.16.3", 2024-05-30) by updating the `cmake_minimum_required()` call in `ctkLinkerAsNeededFlagCheck` to match the project-wide baseline.
1 parent 412c8ec commit ca28a23

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMake/ctkLinkerAsNeededFlagCheck/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 3.0 FATAL_ERROR)
1+
cmake_minimum_required(VERSION 3.16.3 FATAL_ERROR)
22
project(ctkLinkerAsNeededFlagCheck)
33
add_library(A SHARED A.cpp)
44
add_library(B SHARED B.cpp)

0 commit comments

Comments
 (0)