OpenCV:CMake Error (find_package): but it set OpenCV_FOUND to FALSE so package "OpenCV" is consider
Ubuntu16.04下在CMakeLists.txt中添加了OpenCV的头文件,然后把程序连接到库文件上,对CMakeLists.txt进行编译,出现错误大致如下:(终端错误内容和下列相似,但是我的没有保存错误内容)--buildingmain----buildingmrcimgCMakeWarningat/home/zzy/opencv-2.4.6.1/cmake/OpenCVConfig.