From dcebb82da7209dd29be9f3344abb00124d0c2c02 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Sat, 9 Nov 2024 21:59:15 +0100 Subject: [PATCH] Update YCMBootstrapFetch.cmake to avoid CMP0169 related warnings and update YCM to 0.17.1 (#1734) --- cmake/YCMBootstrapFetch.cmake | 8 +------- releases/latest.releases.yaml | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/cmake/YCMBootstrapFetch.cmake b/cmake/YCMBootstrapFetch.cmake index 101bf137a..852dc4a10 100644 --- a/cmake/YCMBootstrapFetch.cmake +++ b/cmake/YCMBootstrapFetch.cmake @@ -97,10 +97,4 @@ FetchContent_Declare(YCM GIT_REPOSITORY https://github.com/${YCM_FETCHCONTENT_REPOSITORY} GIT_TAG ${YCM_FETCHCONTENT_TAG}) -FetchContent_GetProperties(YCM) -if(NOT YCM_POPULATED) - message(STATUS "Fetching YCM.") - FetchContent_Populate(YCM) - # Add YCM modules in CMAKE_MODULE_PATH - include(${ycm_SOURCE_DIR}/tools/UseYCMFromSource.cmake) -endif() +FetchContent_MakeAvailable(YCM) diff --git a/releases/latest.releases.yaml b/releases/latest.releases.yaml index 39f6dcc21..431095572 100644 --- a/releases/latest.releases.yaml +++ b/releases/latest.releases.yaml @@ -26,7 +26,7 @@ repositories: YCM: type: git url: https://github.com/robotology/ycm.git - version: v0.16.9 + version: v0.17.1 YARP: type: git url: https://github.com/robotology/yarp.git