问题描述:
CMake Error at /usr/share/cmake-3.5/Modules/CMakeFindDependencyMacro.cmake:45 (message):
Invalid arguments to find_dependency
Call Stack (most recent call first):
/usr/local/lib/cmake/GTSAM/GTSAMConfig.cmake:17 (find_dependency)
LeGO-LOAM/LeGO-LOAM/CMakeLists.txt:23 (find_package)
解决方法:
进入/usr/local/lib/cmake/GTSAM/GTSAMConfig.cmake文件,编辑第17行,将find_dependency修改为find_package即可