robotology / ycm-cmake-modules

YCM (YCM CMake modules) is a collection of various useful CMake modules.
http://robotology.github.io/ycm-cmake-modules
Other
52 stars 23 forks source link

Handle CMP0169 #453

Closed traversaro closed 2 weeks ago

traversaro commented 4 months ago

See:

traversaro commented 4 months ago

CMake Warning (dev) at D:/miniforge3/envs/robsub/Library/share/cmake-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)