Commit bc1cebf3 authored by Gilles Caulier's avatar Gilles Caulier 🗼
Browse files

modules are required

parent 8c01d5d5
......@@ -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)
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment