forked from VIAME/VIAME
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
48 lines (37 loc) · 1014 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
###
# VIAME examples
##
###
# Install files to example directory
##
install( FILES detector1.cxx
detector3.cxx
detector4.cxx
CMakeLists.txt
DESTINATION examples/using_detectors_in_cxx_code )
# Build select files
if( VIAME_ENABLE_OPENCV )
find_package( OpenCV REQUIRED )
include_directories( SYSTEM ${OpenCV_INCLUDE_DIRS} )
find_package( Eigen3 REQUIRED )
include_directories( ${EIGEN3_INCLUDE_DIR} )
###
# Add first detector example
add_executable( detector1 detector1.cxx )
target_link_libraries( detector1
PRIVATE vital
kwiver_algo_core
kwiver_algo_ocv
${OpenCV_LIBS}
)
###
# Add first detector example
add_executable( detector3 detector3.cxx )
target_link_libraries( detector3
PRIVATE vital
vital_vpm
kwiver_algo_core
kwiver_algo_ocv
${OpenCV_LIBS}
)
endif()