From 595b6fe44cc577b304f5a2efad3e38a1c6cc1a13 Mon Sep 17 00:00:00 2001 From: Stephen Rawls Date: Wed, 21 Jan 2015 15:48:33 -0800 Subject: [PATCH] Adding a minimum version requirement for OpenCV (2.4.5) --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 93fc458..eda7b49 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -88,7 +88,7 @@ endforeach() set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${Qt5Core_QTMAIN_LIBRARIES}) # Find OpenCV -find_package(OpenCV REQUIRED) +find_package(OpenCV 2.4.5 REQUIRED) set(OPENCV_DEPENDENCIES opencv_calib3d opencv_core opencv_features2d opencv_flann opencv_gpu opencv_highgui opencv_imgproc opencv_ml opencv_nonfree opencv_objdetect opencv_photo opencv_video) set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${OpenCV_LIBS}) -- libgit2 0.21.4