Ask Your Question

morynicz's profile - activity

2013-02-07 03:56:33 -0600 answered a question Compiling cpp samples on Mac OS X: “Unknown CMake command "ocv_check_dependencies". ”

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.