forked from RoboMaster/RoboRTS
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·47 lines (41 loc) · 976 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
project(RRTS)
cmake_minimum_required(VERSION 3.1)
set(CMAKE_CXX_STANDARD 14)
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
set(CMAKE_BUILD_TYPE Release)
find_package(catkin REQUIRED COMPONENTS
roscpp
tf
cv_bridge
image_transport
# laser
laser_geometry
pcl_conversions
pcl_ros
# message
std_msgs
nav_msgs
sensor_msgs
geometry_msgs
# actionlib and message generation
actionlib
message_generation
interactive_markers
)
find_package(Boost REQUIRED COMPONENTS
system
thread
)
find_package(OpenCV 3 REQUIRED)
find_package(G2O REQUIRED)
find_package(SUITESPARSE REQUIRED)
find_package(Eigen3 REQUIRED)
find_package(PCL 1.7 REQUIRED)
find_package(Glog REQUIRED)
find_package(ProtoBuf REQUIRED)
add_subdirectory(modules/stream/messages)
list(APPEND catkin_INCLUDE_DIRS ${msg_INCLUDE_DIRS})
message(STATUS ${catkin_INCLUDE_DIRS})
include_directories(${CMAKE_SOURCE_DIR} ${catkin_INCLUDE_DIRS})
add_subdirectory(common)
add_subdirectory(modules)