Closed kou closed 6 months ago
We always use "lib" for library directory but Debian/Ubuntu use "lib/x86_64-linux-gnu" and RHEL use "lib64" on 64bit.
CMake provides CMAKE_INSTALL_LIBDIR that abstracts system library directory. We can use it by including GNUInstallDirs. See also: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
All committers have signed the CLA.
This will fix #406.
coverage: 98.827%. remained the same when pulling 279e7564c765706ed8f1ca4d6832be7a19eef90e on kou:cmake-libdir into a523fc65de144f4d54dbf056b13d90ae95bbf4c1 on uber:master.
We always use "lib" for library directory but Debian/Ubuntu use "lib/x86_64-linux-gnu" and RHEL use "lib64" on 64bit.
CMake provides CMAKE_INSTALL_LIBDIR that abstracts system library directory. We can use it by including GNUInstallDirs. See also: https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html