From 9e87f28b187aa7d384698cb4dc6f50283789ece1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20=C5=81ukawski?= Date: Tue, 26 Jun 2018 16:28:01 +0200 Subject: [PATCH] Enable YARP's optional 'math' component (273ac97) --- CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index ecdf6be26..9631a6220 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -40,8 +40,8 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake find_package(YCM 0.8 REQUIRED) # https://github.com/roboticslab-uc3m/questions-and-answers/issues/65 -# YARP_math breaks builds at asibot-hmi (not installing Eigen3) -find_package(YARP 3.0 QUIET) # COMPONENTS OS dev sig math) +find_package(YARP 3.0 QUIET COMPONENTS OS dev sig + OPTIONAL_COMPONENTS math) if(NOT YARP_FOUND) find_package(YARP 2.3.70 REQUIRED) endif()