Commit 595b6fe44cc577b304f5a2efad3e38a1c6cc1a13
1 parent
b5b7605d
Adding a minimum version requirement for OpenCV (2.4.5)
Showing
1 changed file
with
1 additions
and
1 deletions
CMakeLists.txt
| ... | ... | @@ -88,7 +88,7 @@ endforeach() |
| 88 | 88 | set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${Qt5Core_QTMAIN_LIBRARIES}) |
| 89 | 89 | |
| 90 | 90 | # Find OpenCV |
| 91 | -find_package(OpenCV REQUIRED) | |
| 91 | +find_package(OpenCV 2.4.5 REQUIRED) | |
| 92 | 92 | 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) |
| 93 | 93 | set(BR_THIRDPARTY_LIBS ${BR_THIRDPARTY_LIBS} ${OpenCV_LIBS}) |
| 94 | 94 | ... | ... |