Ask Your Question

Revision history [back]

I think You either need to build the whole library using option build_examples/build_samples on (i recommend using some kind of gui for cmake), or include OpenCVModule.cmake file, found in cmake directory of the library source, to the CMakeLists.txt file that You are trying to use.

The second one is just an assumption (didn't have this problem), but it looks like the CMakeLists.txt You are trying to use doesn't load the macros located in OpenCVModules.cmake, including the ocv_check_dependencies one.