-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
35 lines (30 loc) · 873 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
cmake_minimum_required(VERSION 3.0.2)
project(lidar_object_detection)
find_package(catkin REQUIRED COMPONENTS
pcl_conversions
pcl_ros
roscpp
std_msgs
visualization_msgs
lidar_msgs
)
find_package(cmake_modules REQUIRED)
list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)
find_package(Eigen REQUIRED)
include_directories(${Eigen_INCLUDE_DIRS})
catkin_package(
INCLUDE_DIRS include
#LIBRARIES bisa_lane_detection
CATKIN_DEPENDS pcl_conversions pcl_ros roscpp std_msgs visualization_msgs lidar_msgs
# DEPENDS system_lib Eigen
)
include_directories(
include
${catkin_INCLUDE_DIRS}
)
add_executable(object_detection src/main.cpp src/object_detection.cpp)
add_dependencies(object_detection ${${PROJECT_NAME}_EXPORTED_TARGETS} ${catkin_EXPORTED_TARGETS})
target_link_libraries(object_detection
${catkin_LIBRARIES}
${Eigen_LIBRARIES}
)