Skip to content

Conversation

@jhlegarreta
Copy link
Member

@jhlegarreta jhlegarreta commented Feb 2, 2025

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

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
@jhlegarreta jhlegarreta force-pushed the BumpMinReqCMakeVersion branch from 47219b8 to ee6678b Compare February 2, 2025 17:04
@dzenanz dzenanz merged commit 88e3f65 into InsightSoftwareConsortium:main Feb 2, 2025
28 checks passed
@dzenanz
Copy link
Member

dzenanz commented Feb 2, 2025

@jhlegarreta jhlegarreta deleted the BumpMinReqCMakeVersion branch February 2, 2025 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants