I am trying to build CI2CV on windows using cmake for the first time. I get below errors while building
"CMake Error at CMakeLists.txt:17 (find_package):Could not find a package configuration file provided by "OpenCV" with any of the following names:
OpenCVConfig.cmake
opencv-config.cmake
Add the installation prefix of "OpenCV" to CMAKE_PREFIX_PATH or set "OpenCV_DIR" to a directory containing one of the above files. If "OpenCV" provides a separate development package or SDK, be sure it has been installed."
Tried to set CMAKE_PREFIX_PATH to location where OpenCVConfig.cmake file resides also tried the same with OpenCV_DIR. But no luck.
Please let me know way out of this.