summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Caulier <[email protected]>2015-11-09 15:30:01 +0059
committerGilles Caulier <[email protected]>2015-11-09 15:30:01 +0059
commitbc1cebf35e4cd448d622ce48ccc52c91048031e4 (patch)
tree1b4da9a4e2776e274b86377e6ebc7f374e0fb1d5
parent8c01d5d5f71ce87a99361fccd16b3bf813a915f0 (diff)
-rw-r--r--cmake/modules/MacroOpenCV.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/MacroOpenCV.cmake b/cmake/modules/MacroOpenCV.cmake
index f8a19ad..f200628 100644
--- a/cmake/modules/MacroOpenCV.cmake
+++ b/cmake/modules/MacroOpenCV.cmake
@@ -24,7 +24,7 @@ macro(DETECT_OPENCV OPENCV_MIN_VERSION)
set(OPENCV_REQUIRED_COMPONENTS "${ARGN}" )
message(STATUS "First try at finding OpenCV...")
- find_package(OpenCV COMPONENTS ${OPENCV_REQUIRED_COMPONENTS})
+ find_package(OpenCV REQUIRED COMPONENTS ${OPENCV_REQUIRED_COMPONENTS})
if(NOT OpenCV_LIBRARIES AND NOT OpenCV_LIBS)