From 43405cdcc4c6a50ba782e96651b3d9ab6e096cf2 Mon Sep 17 00:00:00 2001 From: clnowacki Date: Wed, 3 Apr 2024 08:59:41 -0400 Subject: [PATCH] update CMakeLists.txt to OpenCV 4.9.0 --- cpp/motion/MogMotionDetection/CMakeLists.txt | 2 +- cpp/motion/STRUCK/CMakeLists.txt | 2 +- cpp/motion/SubsenseMotionDetection/CMakeLists.txt | 2 +- cpp/motion/SubsenseMotionDetection/SubSense/CMakeLists.txt | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cpp/motion/MogMotionDetection/CMakeLists.txt b/cpp/motion/MogMotionDetection/CMakeLists.txt index 5f15eb5..663fddb 100644 --- a/cpp/motion/MogMotionDetection/CMakeLists.txt +++ b/cpp/motion/MogMotionDetection/CMakeLists.txt @@ -35,7 +35,7 @@ set(CMAKE_CXX_STANDARD 17) include(../../ComponentSetup.cmake) -find_package(OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 +find_package(OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_objdetect opencv_ml opencv_video opencv_highgui) find_package(mpfComponentInterface REQUIRED) diff --git a/cpp/motion/STRUCK/CMakeLists.txt b/cpp/motion/STRUCK/CMakeLists.txt index a254f64..323fdcc 100644 --- a/cpp/motion/STRUCK/CMakeLists.txt +++ b/cpp/motion/STRUCK/CMakeLists.txt @@ -30,7 +30,7 @@ project(STRUCK) if(NOT TARGET STRUCK) - find_package(OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 COMPONENTS opencv_core opencv_imgproc) + find_package(OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_core opencv_imgproc) # Need to use absolute paths so that both Mog and Subsense can build STRUCK set(STRUCK_SRC diff --git a/cpp/motion/SubsenseMotionDetection/CMakeLists.txt b/cpp/motion/SubsenseMotionDetection/CMakeLists.txt index 55fc92f..86f948e 100644 --- a/cpp/motion/SubsenseMotionDetection/CMakeLists.txt +++ b/cpp/motion/SubsenseMotionDetection/CMakeLists.txt @@ -35,7 +35,7 @@ set(CMAKE_CXX_STANDARD 17) include(../../ComponentSetup.cmake) -find_package(OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 +find_package(OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_objdetect opencv_video opencv_features2d opencv_flann opencv_ml opencv_highgui) find_package(mpfComponentInterface REQUIRED) diff --git a/cpp/motion/SubsenseMotionDetection/SubSense/CMakeLists.txt b/cpp/motion/SubsenseMotionDetection/SubSense/CMakeLists.txt index 9a6dc38..3fce095 100644 --- a/cpp/motion/SubsenseMotionDetection/SubSense/CMakeLists.txt +++ b/cpp/motion/SubsenseMotionDetection/SubSense/CMakeLists.txt @@ -1,6 +1,6 @@ project(SubSense) -find_package(OpenCV 4.5.5 EXACT REQUIRED PATHS /opt/opencv-4.5.5 +find_package(OpenCV 4.9.0 EXACT REQUIRED PATHS /opt/opencv-4.9.0 COMPONENTS opencv_features2d) aux_source_directory(. SRC)