CMAKE_PREFIX_PATH
[Error Fix] Could not find a package configuration file provided by "GTSAM" with any of the following names(gtsam, Eigen)
# Problem Could not find a package configuration file provided by "GTSAM" with any of the following names: GTSAMConfig.cmake gtsam-config.cmake Add the installation prefix of "GTSAM" to CMAKE_PREFIX_PATH or set "GTSAM_DIR" to a directory containing one of the above files. If "GTSAM" provides a separate development package or SDK, be sure it has been installed. # Solution Always like this problem..
[Error Fix] 'CMake find_package' 문제 해결(feat. MacOS Qt5 FindQt5.cmake)
# 문제 상황 'brew install qt5'로 qt5는 설치하였으나 find_package로 내부 파일을 찾지 못하여 다음과 같은 메시지가 떴다. CMake Error at src/CMakeLists.txt:2 (find_package): By not providing "FindQt5.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Qt5", but CMake did not find one. Could not find a package configuration file provided by "Qt5" with any of the following names: ..