From 766fd05e95e843feae8f3c31325925b07b54f987 Mon Sep 17 00:00:00 2001 From: fbrand-new Date: Wed, 6 Dec 2023 09:59:33 +0100 Subject: [PATCH] Rm rosmsg from YARP component in cmake --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e368ef3..f556429 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -32,8 +32,8 @@ list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake") set(YARP_FORCE_DYNAMIC_PLUGINS TRUE CACHE INTERNAL "yarp-devices-ros2 is always built with dynamic plugins") option(BUILD_SHARED_LIBS "Build libraries as shared as opposed to static" ON) -find_package(YARP 3.8.0 COMPONENTS os sig dev rosmsg serversql OPTIONAL_COMPONENTS math REQUIRED) -find_package(YARP 3.8.0 COMPONENTS catch2 dev_tests QUIET) +find_package(YARP COMPONENTS os dev serversql REQUIRED) +find_package(YARP COMPONENTS catch2 dev_tests QUIET) if(YARP_catch2_FOUND AND YARP_dev_tests_FOUND) option(YARP_COMPILE_TESTS "Enable YARP tests" OFF)