The current CMake pratice would suggest the installation of CMake configuration files into ${CMAKE_INSTALL_LIBDIR}/cmake/<library_name> with the help of GNUInstallDirs, instead of hardcoded path, like lib/cmake/ButterflyPACK in the CMakeLists.txt file of the library.
The current CMake pratice would suggest the installation of CMake configuration files into
${CMAKE_INSTALL_LIBDIR}/cmake/<library_name>
with the help ofGNUInstallDirs
, instead of hardcoded path, likelib/cmake/ButterflyPACK
in the CMakeLists.txt file of the library.Ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8111