From 15a8ad060653a521bcd175b495455a0e09377050 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 11 Feb 2019 18:35:24 +0100 Subject: cv/video-widget: make it work without opencv --- tracker-aruco/CMakeLists.txt | 2 +- tracker-aruco/ftnoir_tracker_aruco.cpp | 1 - tracker-aruco/ftnoir_tracker_aruco.h | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) (limited to 'tracker-aruco') diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt index bfa7a348..f34b7420 100644 --- a/tracker-aruco/CMakeLists.txt +++ b/tracker-aruco/CMakeLists.txt @@ -39,6 +39,6 @@ if(OpenCV_FOUND) otr_module(tracker-aruco) target_include_directories(${self} SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS} "${dir}") - target_link_libraries(${self} opentrack-cv ${modules}) + target_link_libraries(${self} opentrack-cv opentrack-video ${modules}) endif() endif() diff --git a/tracker-aruco/ftnoir_tracker_aruco.cpp b/tracker-aruco/ftnoir_tracker_aruco.cpp index 986eb943..8928566f 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.cpp +++ b/tracker-aruco/ftnoir_tracker_aruco.cpp @@ -5,7 +5,6 @@ * copyright notice and this permission notice appear in all copies. */ -#include "cv/video-widget.hpp" #include "ftnoir_tracker_aruco.h" #include "cv/video-property-page.hpp" #include "compat/camera-names.hpp" diff --git a/tracker-aruco/ftnoir_tracker_aruco.h b/tracker-aruco/ftnoir_tracker_aruco.h index 1d6fd107..0477c4da 100644 --- a/tracker-aruco/ftnoir_tracker_aruco.h +++ b/tracker-aruco/ftnoir_tracker_aruco.h @@ -11,7 +11,7 @@ #include "options/options.hpp" #include "cv/translation-calibrator.hpp" #include "api/plugin-api.hpp" -#include "cv/video-widget.hpp" +#include "video/video-widget.hpp" #include "compat/timer.hpp" #include "aruco/markerdetector.h" -- cgit v1.2.3