-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
28 lines (21 loc) · 883 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
# Copyright: (C) 2022 Center for Robotics and Intelligent Systems - Istituto Italiano di Tecnologia
# CopyPolicy: Released under the terms of the GNU GPL v2.0.
cmake_minimum_required(VERSION 3.1)
project(left-right-gaze-estimator-demo)
find_package(ICUBcontrib REQUIRED)
find_package(YARP 3.1 REQUIRED COMPONENTS OS sig dev math rosmsg cv)
find_package(OpenCV REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${ICUBCONTRIB_MODULE_PATH})
include(ICUBcontribOptions)
include(ICUBcontribHelpers)
if(NOT CMAKE_CONFIGURATION_TYPES)
if(NOT CMAKE_BUILD_TYPE)
message(STATUS "Setting build type to 'Release' as none was specified.")
set_property(CACHE CMAKE_BUILD_TYPE PROPERTY VALUE "Release")
endif()
endif()
icubcontrib_set_default_prefix()
add_subdirectory(src)
add_subdirectory(app)
# generate ad-hoc project to perform "make uninstall"
icubcontrib_add_uninstall_target()