forked from robotology/yarp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
22 lines (18 loc) · 850 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
# Copyright: (C) 2010 RobotCub Consortium
# Authors: Paul Fitzpatrick
# CopyPolicy: Released under the terms of the LGPLv2.1 or later, see LGPL.TXT
if (CREATE_DEVICE_LIBRARY_MODULES)
get_property(YARP_TREE_INCLUDE_DIRS TARGET YARP_dev PROPERTY INCLUDE_DIRS)
include_directories(${YARP_TREE_INCLUDE_DIRS})
include_directories(${ACE_INCLUDE_DIRS})
add_executable(yarphear yarphear.cpp)
target_link_libraries(yarphear YARP::YARP_OS
YARP::YARP_sig
YARP::YARP_dev
YARP::YARP_init)
target_link_libraries(yarphear ${ACE_LIBRARIES})
install(TARGETS yarphear
COMPONENT utilities
DESTINATION ${CMAKE_INSTALL_BINDIR})
set_property(TARGET yarphear PROPERTY FOLDER "Command Line Tools")
endif(CREATE_DEVICE_LIBRARY_MODULES)