forked from robotology/onthefly-recognition
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
32 lines (23 loc) · 831 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright: 2016 RobotCub Consortium
# Author: Giulia Pasquale, Sean Ryan Fanello, Carlo Ciliberto
# CopyPolicy: Released under the terms of the GNU GPL v2.0.
cmake_minimum_required(VERSION 2.8)
set(PROJECTNAME onthefly-recognition)
project(${PROJECTNAME})
find_package(YARP REQUIRED)
find_package(ICUB REQUIRED)
find_package(ICUBcontrib REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${YARP_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${ICUB_MODULE_PATH})
list(APPEND CMAKE_MODULE_PATH ${ICUBCONTRIB_MODULE_PATH})
include(YarpInstallationHelpers)
include(ICUBcontribHelpers)
include(ICUBcontribOptions)
icubcontrib_set_default_prefix()
add_subdirectory(app)
add_subdirectory(managerOnTheFly)
option(BUILD_OTFR_ROS "Build OTFR_ROS" OFF)
if (BUILD_OTFR_ROS)
add_subdirectory(OTFR_ROS)
endif()
icubcontrib_add_uninstall_target()