Install the library into a multiarch path#110
Install the library into a multiarch path#110mapreri wants to merge 1 commit intotrendmicro:masterfrom
Conversation
CMAKE_INSTALL_LIBDIR defaults to "lib" or "lib64" or lib/<multiarch-tuple>, depending on the system. CMAKE_INSTALL_INCLUDEDIR is pretty much always "include". https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html Signed-off-by: Mattia Rizzolo <mattia@mapreri.org>
|
Hi mapreri The current install was in pull request #107 by cgull Cheers |
|
Sure! I'd also be happy to rework and adapt so it fits everybody's needs! |
|
The current official release is 4.8.2 which incorporates cgull's fix. |
|
Sorry I missed this earlier. I'm working on FreeBSD and this change works fine there. @jonjoliver this is pretty clearly the right thing to do (another level of indirection!); go ahead and merge it. It might even help Cygwin or Haiku or something, too. (On FreeBSD, lib is lib/ and include is include/, but both are in /usr/local for ports, but CMake already handles that in the |
CMAKE_INSTALL_LIBDIR defaults to "lib" or "lib64" or
lib/, depending on the system.
CMAKE_INSTALL_INCLUDEDIR is pretty much always "include".
https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html
Please take this patch so that distributors can more easily install the library into standard paths.