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

Bump to CMake 3.10 #2431

Merged

Conversation

scribam
Copy link
Contributor

@scribam scribam commented Dec 29, 2024

Fix the following deprecation warning when using CMake 3.31:

CMake Deprecation Warning at external/SPIRV-Cross/CMakeLists.txt:22 (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.

From https://cmake.org/cmake/help/latest/release/3.31.html#deprecated-and-removed-features:

Compatibility with versions of CMake older than 3.10 is now deprecated and will be removed from a future version. Calls to cmake_minimum_required() or cmake_policy() that set the policy version to an older value now issue a deprecation diagnostic.

@HansKristian-Work HansKristian-Work merged commit 104d91a into KhronosGroup:main Jan 2, 2025
10 checks passed
@scribam scribam deleted the cmake-minimum-required branch January 2, 2025 11:43
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