I'm trying to build Multitarget-tracker using CMake in windows. Initially I had this warning below:
You should manually point CMake variable OpenCV_DIR to your build of OpenCV library.
Call Stack (most recent call first):
CMake Warning at CMakeLists.txt:23 (FIND_PACKAGE):
Found package configuration file:
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND.
You're not supposed to check
OpenCV_FOUND manually: it's a variable set by
OpenCVConfig.cmake to tell CMake if OpenCV was found or not.
The fact it was set to
FALSE is the sign your installation of OpenCV is not valid according to the package. Installing OpenCV properly is the solution.