-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy pathCMakeLists.txt
39 lines (31 loc) · 1005 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
32
33
34
35
36
37
38
39
cmake_minimum_required(VERSION 2.4.6)
project(duo3d_driver)
# if CMAKE_BUILD_TYPE is not specified, take 'Release' as default
if(NOT CMAKE_BUILD_TYPE)
set(CMAKE_BUILD_TYPE Release)
endif(NOT CMAKE_BUILD_TYPE)
find_package(catkin REQUIRED COMPONENTS
image_transport
roscpp
rosconsole
sensor_msgs
dynamic_reconfigure
tf2_ros
pcl_conversions
pcl_ros
cv_bridge
)
generate_dynamic_reconfigure_options(cfg/Duo3D.cfg)
catkin_package()
include_directories(include
${catkin_INCLUDE_DIRS}
${OpenCV_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
)
add_definitions(-std=c++11)
add_executable(duo3d_driver src/duo3d_driver.cpp)
target_link_libraries(duo3d_driver
${CMAKE_CURRENT_SOURCE_DIR}/lib/libDUO.so
${CMAKE_CURRENT_SOURCE_DIR}/lib/libDense3DMT.so
${catkin_LIBRARIES}
)