From ebc070dcc36cf113b0d80577fa2fd781d7285026 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Wed, 14 Aug 2024 11:02:37 +0200 Subject: [PATCH] Pin YCM to v0.16.6 to workaround YCM regression (#1691) --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 3cdf76567..ca7daad7d 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -48,6 +48,10 @@ endif() set(YCM_FOLDER src) set(YCM_COMPONENT core) set(YCM_MINIMUM_VERSION 0.14.0) +# Quick workaround for https://github.com/robotology/robotology-superbuild/issues/1690 +if(NOT ${YCM_TAG}) + set(YCM_TAG v0.16.6) +endif() option(YCM_USE_CMAKE_NEXT "Use legacy YCM fork of ExternalProject module instead of upstream CMake ExternalProject" OFF) # Include logic for generating Conda recipes (by default it is disabled) and exit