Skip to content

cmake: set cmake policy version#932

Merged
bradh352 merged 2 commits into
c-ares:mainfrom
bradh352:newer_cmake
Dec 11, 2024
Merged

cmake: set cmake policy version#932
bradh352 merged 2 commits into
c-ares:mainfrom
bradh352:newer_cmake

Conversation

@bradh352
Copy link
Copy Markdown
Member

Fix Cmake warning like:

CMake Deprecation Warning at c-ares/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.

By setting the policy version.

Fixes #926
Signed-off-by: Brad House (@bradh352)

@bradh352 bradh352 merged commit 75e5a4c into c-ares:main Dec 11, 2024
@bradh352 bradh352 deleted the newer_cmake branch December 11, 2024 23:04
bradh352 added a commit that referenced this pull request Dec 11, 2024
Fix Cmake warning like:
```
CMake Deprecation Warning at c-ares/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
```
By setting the policy version.

Fixes #926
Signed-off-by: Brad House (@bradh352)
michael-dev pushed a commit to HamelinPorts/android_external_c-ares that referenced this pull request Apr 25, 2026
Fix Cmake warning like:
```
CMake Deprecation Warning at c-ares/CMakeLists.txt:3 (CMAKE_MINIMUM_REQUIRED):
Compatibility with CMake < 3.10 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.
```
By setting the policy version.

Fixes c-ares#926
Signed-off-by: Brad House (@bradh352)
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.

Compatibility with CMake < 3.10 will be removed

1 participant