-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
58 lines (41 loc) · 1.95 KB
/
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
cmake_minimum_required(VERSION 3.5)
project(aruco-detection
LANGUAGES CXX
VERSION 0.0.0)
# set(CMAKE_CXX_STANDARD 11)
find_package(OpenCV REQUIRED)
find_package(OpenCV COMPONENTS aruco opencv_core highgui opencv_imgproc opencv_calib3d REQUIRED)
find_package(YARP REQUIRED)
set(EXE_TARGET_NAME aruco-tracker)
set(${EXE_TARGET_NAME}_HDR
include/ArucoDetector.hpp
)
set(${EXE_TARGET_NAME}_SRC
src/ArucoDetector.cpp
src/main.cpp
)
add_executable(${EXE_TARGET_NAME} ${${EXE_TARGET_NAME}_HDR} ${${EXE_TARGET_NAME}_SRC})
target_include_directories(${EXE_TARGET_NAME} PRIVATE
# ${VTK_LIBRARIES}
# YARP::YARP_init
# YARP::YARP_OS
# YARP::YARP_sig
# # YARP::YARP_eigen
# # YARP::YARP_cv
# # iCubGazeCtrlLibrary
# # BayesFilters::BayesFilters
# ${OpenCV_LIBS}
${OpenCV_INCLUDE_DIRS}
${CMAKE_CURRENT_SOURCE_DIR}/include/
)
target_link_libraries(${EXE_TARGET_NAME} PRIVATE
${VTK_LIBRARIES}
YARP::YARP_init
YARP::YARP_OS
YARP::YARP_sig
# YARP::YARP_eigen
# YARP::YARP_cv
# iCubGazeCtrlLibrary
# BayesFilters::BayesFilters
${OpenCV_LIBS}
)