From 79a5413ac2499dc1d5717b0a19d6306d7689f249 Mon Sep 17 00:00:00 2001 From: Silvio Traversaro Date: Fri, 15 Dec 2023 19:17:34 +0100 Subject: [PATCH] Add depedency of ergocub-software on YARP --- cmake/Buildergocub-software.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/Buildergocub-software.cmake b/cmake/Buildergocub-software.cmake index f1ef35ea5..f31a64bc4 100644 --- a/cmake/Buildergocub-software.cmake +++ b/cmake/Buildergocub-software.cmake @@ -2,6 +2,9 @@ # CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT include(YCMEPHelper) +include(FindOrBuildPackage) + +find_or_build_package(YARP QUIET) set(ergocub-software_OPTIONAL_CMAKE_ARGS "") @@ -10,6 +13,7 @@ ycm_ep_helper(ergocub-software STYLE GITHUB REPOSITORY icub-tech-iit/ergocub-software.git TAG master + DEPENDS YARP COMPONENT core FOLDER src CMAKE_ARGS ${ergocub-software_OPTIONAL_CMAKE_ARGS})