-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
executable file
·69 lines (50 loc) · 1019 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(geo_tagger)
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_LIST_DIR}/cmake")
find_package(catkin REQUIRED COMPONENTS
roscpp
std_msgs
sensor_msgs
image_transport
cv_bridge
message_generation
)
find_package(Exiv2)
find_package( Boost REQUIRED COMPONENTS
system
filesystem
)
add_definitions(-std=c++11)
add_message_files(
FILES
GeoImageCompressed.msg
)
generate_messages(
DEPENDENCIES
std_msgs
geometry_msgs
sensor_msgs
)
catkin_package( CATKIN_DEPENDS
roscpp
roslib
message_runtime
std_msgs sensor_msgs
)
include_directories(
${catkin_INCLUDE_DIRS}
${Exiv2_INCLUDE_DIRS}
)
## For Flight Node
add_executable(geo_tagger_node
src/geo_tagger_node.cpp
)
add_dependencies(geo_tagger_node
${${PROJECT_NAME}_EXPORTED_TARGETS}
${catkin_EXPORTED_TARGETS}
)
target_link_libraries(geo_tagger_node
${catkin_LIBRARIES}
${Exiv2_LIBRARIES}
-lexiv2
)