设置还是找不到是为什么呢
Found package configuration file:
D:/opencv/opencv/build/OpenCVConfig.cmake
but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be
NOT FOUND.
设置OpenCV_DIR,使cmake自动找到opencv通过如下方式配置opencv时,有些时候,cmake找不到opencv而报错 这时有两种方式解决这个问题。分别如下: 1. 在CMakeLists.txt中配置 在CMake...