是不是因为版本不匹配
CMake configure后有这样的警告:
-----------------------------------
CMake Warning at cmake/OpenCVPackaging.cmake:23 (message):
CPACK_PACKAGE_VERSION does not match version provided by version.hpp
header!
Call Stack (most recent call first):
CMakeLists.txt:1105 (include)
--------------------------------------------