robotology / ycm-cmake-modules

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

Handle CMP0169 #453

Open traversaro opened 1 month ago

traversaro commented 1 month ago

See:

traversaro commented 1 month 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)