问题描述:提示找不到FLANNConfig.cmake文件。
CMake Warning at CMakeLists.txt:18 (find_package):
By not providing "FindFLANN.cmake" in CMAKE_MODULE_PATH this project has
asked CMake to find a package configuration file provided by "FLANN", but
CMake did not find one.
Could not find a package configuration file provided by "FLANN" with any of
the following names:
FLANNConfig.cmake
flann-config.cmake
Add the installation prefix of "FLANN" to CMAKE_PREFIX_PATH or set
"FLANN_DIR" to a directory containing one of the above files. If "FLANN"
provides a separate development package or SDK, be sure it has been
installed.
解决办法:
在源码示例中找到.cmake,复制