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)