-
Notifications
You must be signed in to change notification settings - Fork 3
/
CMakeLists.txt
56 lines (42 loc) · 1.04 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
cmake_minimum_required(VERSION 2.8.3)
project(ace_pleora_wrapper)
## Find catkin macros and libraries
## if COMPONENTS list like find_package(catkin REQUIRED COMPONENTS xyz)
## is used, also find other catkin packages
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(Ebus REQUIRED)
find_package(catkin REQUIRED COMPONENTS
cv_bridge
message_generation
roscpp
sensor_msgs
tf
image_transport
)
find_package(OpenCV REQUIRED)
catkin_package(
INCLUDE_DIRS include
# LIBRARIES compute_cdist
CATKIN_DEPENDS cv_bridge message_generation roscpp sensor_msgs tf
)
include_directories(
include
${OpenCV_INCLUDE_DIRS}
${Ebus_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
)
#add_library(${PROJECT_NAME}
# src/ace_usb3.cpp
# src/ace_pleora_wrapper_node.cpp
# )
add_executable(ros_pleora
src/ace_pleora_wrapper.cpp
src/ace_usb3.cpp)
target_link_libraries(ros_pleora
${catkin_LIBRARIES}
${OpenCV_LIBRARIES}
${Ebus_LIBRARIES}
)
#target_link_libraries(${PROJECT_NAME}_node
# ${PROJECT_NAME}
# )