summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--cv/CMakeLists.txt2
-rw-r--r--cv/video-property-page.hpp2
-rw-r--r--tracker-aruco/CMakeLists.txt2
-rw-r--r--tracker-pt/CMakeLists.txt2
-rw-r--r--tracker-pt/module/CMakeLists.txt2
-rw-r--r--tracker-wii/CMakeLists.txt2
6 files changed, 5 insertions, 7 deletions
diff --git a/cv/CMakeLists.txt b/cv/CMakeLists.txt
index a3f05162..14d3c305 100644
--- a/cv/CMakeLists.txt
+++ b/cv/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(OpenCV 3.0 QUIET)
+find_package(OpenCV QUIET)
if(OpenCV_FOUND)
otr_module(cv STATIC)
target_include_directories(opentrack-cv SYSTEM PRIVATE ${OpenCV_INCLUDE_DIRS})
diff --git a/cv/video-property-page.hpp b/cv/video-property-page.hpp
index 4f356b2c..9e6b596f 100644
--- a/cv/video-property-page.hpp
+++ b/cv/video-property-page.hpp
@@ -8,8 +8,6 @@
#include <opencv2/videoio.hpp>
-struct IBaseFilter;
-
struct video_property_page final
{
video_property_page() = delete;
diff --git a/tracker-aruco/CMakeLists.txt b/tracker-aruco/CMakeLists.txt
index c861ae17..b9f62a07 100644
--- a/tracker-aruco/CMakeLists.txt
+++ b/tracker-aruco/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(OpenCV 3.0 QUIET)
+find_package(OpenCV QUIET)
if(OpenCV_FOUND)
set(SDK_ARUCO_LIBPATH "" CACHE FILEPATH "Aruco paper marker tracker static library path")
if(SDK_ARUCO_LIBPATH)
diff --git a/tracker-pt/CMakeLists.txt b/tracker-pt/CMakeLists.txt
index ae923d3d..c9809dcf 100644
--- a/tracker-pt/CMakeLists.txt
+++ b/tracker-pt/CMakeLists.txt
@@ -1,5 +1,5 @@
-find_package(OpenCV 3.0 QUIET)
set(modules opencv_core opencv_videoio opencv_imgproc)
+find_package(OpenCV QUIET)
if(OpenCV_FOUND)
otr_module(tracker-pt-base STATIC)
target_include_directories(opentrack-tracker-pt-base SYSTEM PUBLIC ${OpenCV_INCLUDE_DIRS})
diff --git a/tracker-pt/module/CMakeLists.txt b/tracker-pt/module/CMakeLists.txt
index 1d1b4458..43580a1f 100644
--- a/tracker-pt/module/CMakeLists.txt
+++ b/tracker-pt/module/CMakeLists.txt
@@ -1,4 +1,4 @@
-find_package(OpenCV 3.0 QUIET)
+find_package(OpenCV QUIET)
if(OpenCV_FOUND)
otr_module(tracker-pt)
target_link_libraries(opentrack-tracker-pt opentrack-tracker-pt-base)
diff --git a/tracker-wii/CMakeLists.txt b/tracker-wii/CMakeLists.txt
index 76a43a77..e40692ba 100644
--- a/tracker-wii/CMakeLists.txt
+++ b/tracker-wii/CMakeLists.txt
@@ -1,5 +1,5 @@
if(WIN32)
- find_package(OpenCV 3.0 QUIET)
+ find_package(OpenCV QUIET)
if(OpenCV_FOUND)
add_subdirectory(wiiyourself)
otr_module(tracker-wii)