forked from leo-drive/color-point-cloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
executable file
·47 lines (38 loc) · 992 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
40
41
42
43
44
45
46
47
cmake_minimum_required(VERSION 3.8)
project(color_point_cloud)
find_package(OpenCV REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(geometry_msgs REQUIRED)
find_package(cv_bridge REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(tf2_eigen REQUIRED)
include_directories(include
${OpenCV_INCLUDE_DIRS}
${EIGEN3_INCLUDE_DIRS}
)
add_executable(color_point_cloud
src/color_point_cloud_node.cpp
src/ColorPointCloud.cpp)
ament_target_dependencies(color_point_cloud
rclcpp
sensor_msgs
geometry_msgs
cv_bridge
tf2_ros
tf2_eigen
)
target_link_libraries(color_point_cloud
${OpenCV_LIBRARIES}
${EIGEN3_LIBRARIES}
)
install(DIRECTORY
launch
config
DESTINATION share/${PROJECT_NAME}/
)
install(TARGETS color_point_cloud
DESTINATION lib/${PROJECT_NAME})
ament_package()