Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cmake_minimum_required to set min and policy_max #181

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blowekamp
Copy link
Contributor

CMake version >3.30 produce a deprecated awarning when only, a min argument less that 3.10 is pass to cmake_minimum_required. Using the additional policy_max version range specified the max policy setting at the same time.

Addresses the following warnings on the ITK Dashboards:
CMake Deprecation Warning at Modules/ThirdParty/GDCM/src/gdcm/CMakeLists.txt:1 (cmake_minimum_required):
Compatibility with CMake < 3.10 will be removed from a future version of
CMake.

Update the VERSION argument value. Or, use the ... syntax
to tell CMake that the project requires at least but has been updated
to work with policies introduced by or earlier.

CMake version >3.30 produce a deprecated awarning when only, a min
argument less that 3.10 is pass to cmake_minimum_required. Using the
additional policy_max version range specified the max policy setting
at the same time.
Copy link
Contributor

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@blowekamp
Copy link
Contributor Author

@malaterre Can you please review.

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