1 | initial version |
1)In the CMakeLists.txt make sure the file name is "OpenCVUtils.cmake" NOT "openCVUtils.cmake"
and
2)inside OpenCVUtils.cmake make sure the command is "ovc_clear_vars" NOT "OCV_clear_vars".
If you are fine with installing opencv-2.4.6.1,here's a link to do it in a very easy manner:Click here
Hope this helps you:)