liuyangzhuan / ButterflyPACK

Other
48 stars 15 forks source link

CMake: Avoid hardcoded path #15

Closed topazus closed 5 months ago

topazus commented 1 year ago

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.

Ref: https://gitlab.kitware.com/cmake/cmake/-/merge_requests/8111