Skip to content

Commit 88e3f65

Browse files
jhlegarretadzenanz
authored andcommitted
COMP: Bump to minimum CMake 3.16.3
Bump to minimum CMake 3.16.3: use same `cmake_minimum_required` values as ITK. Bumped in ITK in commit InsightSoftwareConsortium/ITK@b01b325 Fixes: ``` -- cmake_minimum_required of 3.10.2 is not enough. CMake Warning at D:/a/ITKPrincipalComponentsAnalysis/ITK/CMake/ITKModuleExternal.cmake:15 (message): -- This is needed to allow proper setting of CMAKE_MSVC_RUNTIME_LIBRARY. -- Do not be surprised if you run into link errors of the style: LNK2038: mismatch detected for 'RuntimeLibrary': value 'MTd_Static' doesn't match value 'MDd_Dynamic' in module.obj cmake_minimum_required must be at least 3.16.3 ``` raised for example in: https://open.cdash.org/builds/10183591/configure
1 parent 1cc51ee commit 88e3f65

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 3.10.2)
1+
cmake_minimum_required(VERSION 3.16.3)
22
if(COMMAND CMAKE_POLICY)
33
cmake_policy(SET CMP0003 NEW)
44
endif(COMMAND CMAKE_POLICY)

0 commit comments

Comments
 (0)