surroundings:
Windows 7 64 place
OpenCV 3.1.0
Cmake 3.16.4
1. Use find_package order to find OpenCV OpenCV for related configuration.
In order to allow CMake find OpenCV, you need to configure OpenCV path to the system variables path to go.
Need to add the path to the following: D: \ opencv \ build \ bin; D: \ opencv \ build \ x64 \ vc12 \ bin