summaryrefslogtreecommitdiffhomepage
path: root/tracker-aruco/CMakeLists.txt
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-01-10 06:18:43 +0100
committerStanislaw Halik <sthalik@misaki.pl>2018-01-10 06:18:43 +0100
commit3265f4f14a8348072910c7c812b549064ecaa776 (patch)
treecb5a52aab5bd741bc9e6ad31a9ce93574783823d /tracker-aruco/CMakeLists.txt
parent0557e4ff5609f8863738847275ff19c96014b7be (diff)
cv, tracker/{aruco,pt}: link less opencv libs
Diffstat (limited to 'tracker-aruco/CMakeLists.txt')
-rw-r--r--tracker-aruco/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt
index 506c9bd1..95296848 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -3,7 +3,8 @@ if(OpenCV_FOUND)
set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path")
if(SDK_ARUCO_LIBPATH)
otr_module(tracker-aruco)
- target_link_libraries(opentrack-tracker-aruco opentrack-cv ${SDK_ARUCO_LIBPATH} ${OpenCV_LIBS})
+ set(modules opencv_core opencv_calib3d opencv_imgproc opencv_videoio)
+ target_link_libraries(opentrack-tracker-aruco opentrack-cv ${SDK_ARUCO_LIBPATH} ${opencv-modules})
target_include_directories(opentrack-tracker-aruco SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
endif()
endif()