norlab-ulaval / libpointmatcher

An Iterative Closest Point (ICP) library for 2D and 3D mapping in Robotics
BSD 3-Clause "New" or "Revised" License
1.58k stars 542 forks source link

Missing cmake files after installation #499

Open maximecharriere opened 1 year ago

maximecharriere commented 1 year ago

After installation the following files are generated under $CMAKE_INSTALL_PREFIX/CMake :

libpointmatcherConfig.cmake libpointmatcherConfigVersion.cmake

and under $CMAKE_INSTALL_PREFIX/share/libpointmatcher/cmake we got :

libpointmatcherConfig.cmake libpointmatcher-config.cmake libpointmatcher-config-release.cmake libpointmatcherConfigVersion.cmake yaml-cpp-pm-targets.cmake yaml-cpp-pm-targets-release.cmake

When using find_package(libpointmatcher) CMake found the $CMAKE_INSTALL_PREFIX/CMake directory first and tell me:

include could not find requested file:
    $CMAKE_INSTALL_PREFIX/CMake/libpointmatcher-config.cmake
include could not find requested file:
    $CMAKE_INSTALL_PREFIX/CMake/yaml-cpp-pm-targets.cmake

Is it possible Is it possible to add these files to the $CMAKE_INSTALL_PREFIX/CMake folder?