-
Notifications
You must be signed in to change notification settings - Fork 23
/
CMakeLists.txt
39 lines (33 loc) · 942 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 3.0.2)
project(lidar_camera_calibrator)
set(CMAKE_BUILD_TYPE "release")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -O3")
find_package(catkin REQUIRED COMPONENTS
roscpp sensor_msgs cv_bridge pcl_ros pcl_conversions std_msgs
)
find_package(OpenCV REQUIRED)
find_package(PCL REQUIRED)
add_definitions(${PCL_DEFINITIONS})
catkin_package(
INCLUDE_DIRS include
DEPENDS PCL
)
include_directories(
include
${catkin_INCLUDE_DIRS}
${PCL_INCLUDE_DIRS}
)
link_directories(
include
${PCL_LIBRARY_DIRS}
)
add_library(get_sync_data include/get_sync_data/get_sync_data.cpp)
add_executable(get_sync_data_node ./src/get_sync_data_node.cpp )
target_link_libraries(get_sync_data_node
get_sync_data
${OpenCV_LIBS}
${PCL_LIBRARIES}
${catkin_LIBRARIES}
)
# lidar camera calibrator
add_subdirectory(src/calibrator)