From 0ab27998c43c67789fcf54908e2721be3d97ad4d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20=C5=81ukawski?= Date: Mon, 13 May 2019 16:57:02 +0200 Subject: [PATCH] Require YARP 3.0+ and YCM 0.10+, remove workaround * https://github.com/roboticslab-uc3m/questions-and-answers/issues/83 * https://github.com/roboticslab-uc3m/questions-and-answers/issues/78 --- CMakeLists.txt | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 093a9a4..414f739 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -4,13 +4,8 @@ cmake_minimum_required(VERSION 3.5 FATAL_ERROR) project(ROBOTICSLAB_INSTALLATION_GUIDES LANGUAGES NONE) # Find dependencies -find_package(YCM 0.8 REQUIRED) - -# https://github.com/roboticslab-uc3m/questions-and-answers/issues/65 -find_package(YARP 3.0 QUIET) -if(NOT YARP_FOUND) - find_package(YARP 2.3.70 REQUIRED) -endif() +find_package(YCM 0.10 REQUIRED) +find_package(YARP 3.0 REQUIRED) # Set some useful variables - paths relative to the installation prefix. yarp_configure_external_installation(roboticslab-installation-guides)