CMake Error at FAST_LIO_SAM/CMakeLists.txt:61 (find_package):
By not providing "FindGeographicLib.cmake" in CMAKE_MODULE_PATH this
project has asked CMake to find a package configuration file provided by
"GeographicLib", but CMake did not find one.
Could not find a package configuration file provided by "GeographicLib"
with any of the following names:
GeographicLibConfig.cmake
geographiclib-config.cmake
Add the installation prefix of "GeographicLib" to CMAKE_PREFIX_PATH or set
"GeographicLib_DIR" to a directory containing one of the above files. If
"GeographicLib" provides a separate development package or SDK, be sure it
has been installed.
-- Configuring incomplete, errors occurred!
See also "/home/tx/fast_lio_sam_ws/build/CMakeFiles/CMakeOutput.log".
See also "/home/tx/fast_lio_sam_ws/build/CMakeFiles/CMakeError.log".
Invoking "cmake" failed
解决办法
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "/usr/share/cmake/geographiclib/")
find_package (GeographicLib REQUIRED)