forked from AlexKaravaev/ros2_laser_scan_matcher
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (37 loc) · 895 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
48
cmake_minimum_required(VERSION 3.5)
project(ros2_laser_scan_matcher)
find_package(ament_cmake REQUIRED)
find_package(sensor_msgs REQUIRED)
find_package(rclcpp REQUIRED)
find_package(nav_msgs REQUIRED)
find_package(tf2_ros REQUIRED)
find_package(tf2 REQUIRED)
find_package(tf2_geometry_msgs REQUIRED)
find_package(rcutils REQUIRED)
find_package(PkgConfig)
find_package(csm REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(Boost COMPONENTS thread REQUIRED)
include_directories(
include
${EIGEN3_INCLUDE_DIRS}
)
add_executable(laser_scan_matcher src/laser_scan_matcher.cpp)
target_include_directories(laser_scan_matcher
PRIVATE
"include"
)
ament_target_dependencies(laser_scan_matcher
rclcpp
sensor_msgs
rcutils
Eigen3
tf2_ros
tf2
tf2_geometry_msgs
csm
Boost
nav_msgs
)
install(TARGETS laser_scan_matcher DESTINATION lib/${PROJECT_NAME})
ament_package()