-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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
[vcpkg scripts] CMake policy CMP0174 warning from every package with CMake 3.31 #41999
Comments
Is there a release of 3.31? This issues was observed in the release candidates. |
3.31.0 was tagged today, Wed Nov 6. https://gitlab.kitware.com/cmake/cmake/-/commits/v3.31.0?ref_type=tags |
But which version did you actual test? |
The fix is trivial, but it invalidates most cached binary artifacts (aka world rebuild). |
It reproes with the released version of cmake 3.31 (available via winget) |
|
Describe the bug
With CMake 3.31, every call to z_vcpkg_find_acquire_program_find_external or z_vcpkg_find_acquire_program_find_internal is giving a dev warning from one of two places: line 70 or line 30
Environment
To Reproduce
Steps to reproduce the behavior:
0. install cmake 3.31+
Expected behavior
No warnings from vcpkg internals.
I would still like to have CMake dev warnings for my own scripts in my project, so
-Wno-dev
doesn't seem appealingFailure logs
N/A
Additional context
None
The text was updated successfully, but these errors were encountered: