-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
26 lines (19 loc) · 753 Bytes
/
Copy pathCMakeLists.txt
File metadata and controls
26 lines (19 loc) · 753 Bytes
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
cmake_minimum_required(VERSION 2.8.3)
project(vfc)
if(UNIX)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -std=gnu++0x")
endif()
find_package(OpenCV 3 REQUIRED )
include_directories(
${OpenCV_INCLUDE_DIRS}
)
add_executable( keypoints keypoints.cpp )
add_executable( matcher matcher.cpp )
add_executable( robust_matcher_vfc vfc.cpp robust_matcher_vfc.cpp )
add_executable( robust_matcher robust_matcher.cpp )
add_executable( daisy daisy_keypoints.cpp )
target_link_libraries( keypoints ${OpenCV_LIBRARIES} )
target_link_libraries( matcher ${OpenCV_LIBRARIES} )
target_link_libraries( robust_matcher_vfc ${OpenCV_LIBRARIES} )
target_link_libraries( robust_matcher ${OpenCV_LIBRARIES} )
target_link_libraries( daisy ${OpenCV_LIBRARIES} )