forked from ami-iit/bipedal-locomotion-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
24 lines (22 loc) · 1.3 KB
/
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
# Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license.
if(FRAMEWORK_COMPILE_Perception)
if(FRAMEWORK_COMPILE_RealsenseCapture)
set(H_PREFIX include/BipedalLocomotion/Perception/Capture)
add_bipedal_locomotion_library(
NAME PerceptionCapture
SOURCES src/RealSense.cpp
PUBLIC_HEADERS ${H_PREFIX}/RealSense.h
PUBLIC_LINK_LIBRARIES BipedalLocomotion::ParametersHandler BipedalLocomotion::TextLogging BipedalLocomotion::PerceptionInterface ${realsense2_LIBRARY}
INSTALLATION_FOLDER Perception/Capture)
endif()
set(H_PREFIX include/BipedalLocomotion/Perception/Features)
add_bipedal_locomotion_library(
NAME PerceptionFeatures
SOURCES src/ArucoDetector.cpp
PUBLIC_HEADERS ${H_PREFIX}/ArucoDetector.h ${H_PREFIX}/PointCloudProcessor.h
SUBDIRECTORIES tests/Perception/Features
PUBLIC_LINK_LIBRARIES BipedalLocomotion::ParametersHandler BipedalLocomotion::GenericContainer BipedalLocomotion::CommonConversions BipedalLocomotion::System ${OpenCV_LIBS} Eigen3::Eigen BipedalLocomotion::TextLogging
INSTALLATION_FOLDER Perception/Features)
endif()