-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
31 lines (21 loc) · 756 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
cmake_minimum_required(VERSION 2.8.3)
project(helipad_det)
add_definitions(
-std=c++11
-w
)
set(CMAKE_BUILD_TYPE Release)
find_package(catkin REQUIRED)
find_package(catkin_simple REQUIRED)
catkin_simple()
find_package(Eigen REQUIRED)
include_directories(${Eigen_INCLUDE_DIRS})
find_package(OpenCV 4 REQUIRED)
include_directories(${OpenCV_INCLUDE_DIRS})
#cs_add_executable(test_vid src/test_vid.cpp)
#target_link_libraries(test_vid ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
# cs_add_executable(test1 src/test1.cpp)
# target_link_libraries(test1 ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
add_executable(hdetect src/hdetect.cpp)
target_link_libraries(hdetect ${catkin_LIBRARIES} ${OpenCV_LIBRARIES})
message(STATUS "OpenCV_LIBS = ${OpenCV_LIBS}")