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

Update YCMBootstrapFetch.cmake to avoid CMP0169 related warnings and update YCM to 0.17.1 #1734

Merged
merged 3 commits into from
Nov 9, 2024

Conversation

traversaro
Copy link
Member

@traversaro traversaro commented Nov 9, 2024

This will remove all the noisy warnings:

CMake Warning (dev) at D:/miniforge3/envs/robsub/Library/share/[cmake-3](https://gitlab.kitware.com/cmake/cmake/-/issues/3).30/Modules/FetchContent.cmake:1953 (message):
Calling FetchContent_Populate(YCM) is deprecated, call
FetchContent_MakeAvailable(YCM) instead. Policy CMP0169 can be set to OLD
to allow FetchContent_Populate(YCM) to be called directly for now, but the
ability to call it with declared details will be removed completely in a
future version.
Call Stack (most recent call first):
cmake/YCMBootstrapFetch.cmake:103 (FetchContent_Populate)
CMakeLists.txt:60 (include)

in recent CMake releases.

@traversaro
Copy link
Member Author

This highlighted a bug that was fixed in robotology/ycm-cmake-modules#464 .

@traversaro traversaro changed the title Update YCMBootstrapFetch.cmake to avoid CMP0169 related warnings and update YCM to 0.17.0 Update YCMBootstrapFetch.cmake to avoid CMP0169 related warnings and update YCM to 0.17.1 Nov 9, 2024
@traversaro traversaro merged commit dcebb82 into master Nov 9, 2024
23 of 27 checks passed
@traversaro traversaro deleted the updateycm017 branch November 9, 2024 20:59
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.

1 participant