forked from jokla/aruco_gridboard
-
Notifications
You must be signed in to change notification settings - Fork 21
/
CMakeLists.txt
65 lines (51 loc) · 1005 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
cmake_minimum_required(VERSION 2.8.3)
project(aruco_gridboard)
find_package( OpenCV REQUIRED )
find_package(catkin REQUIRED COMPONENTS
cv_bridge
image_geometry
geometry_msgs
message_filters
image_transport
resource_retriever
roscpp
sensor_msgs
std_msgs
tf
)
#find_package(Boost REQUIRED
# COMPONENTS filesystem system signals regex date_time program_options thread)
include_directories(
${OpenCV_INCLUDE_DIRS}
${cv_bridge_INCLUDE_DIRS}
${catkin_INCLUDE_DIRS}
${Boost_INCLUDE_DIRS}
)
catkin_package(
CATKIN_DEPENDS
cv_bridge
geometry_msgs
message_filters
image_transport
roscpp
sensor_msgs
std_msgs
)
add_executable(aruco_gridboard
src/main.cpp
src/names.cpp
src/names.h
src/node.cpp
src/node.h
)
target_link_libraries(aruco_gridboard
${resource_retriever_LIBRARIES}
${catkin_LIBRARIES}
${Boost_LIBRARIES}
)
add_executable(create_board
src/create_board.cpp
)
target_link_libraries(create_board
${OpenCV_LIBS}
)