[libc-commits] [PATCH] D99484: Use `GNUInstallDirs` to support custom installation dirs.

Michael Kruse via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Apr 28 22:38:15 PDT 2021


Meinersbur added a comment.

In D99484#2724435 <https://reviews.llvm.org/D99484#2724435>, @Ericson2314 wrote:

> I effectively replaced `${CMAKE_INSTALL_PREFIX}/lib` with `${CMAKE_INSTALL_LIBDIR}`, which evaluates (by default) merely to `lib`. The fix was `${CMAKE_INSTALL_FULL_LIBDIR}` which will always return an absolute path.

AFAIU, install is always relative the the install prefix <https://cmake.org/cmake/help/latest/command/install.html#introduction>, so there should be no difference?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D99484/new/

https://reviews.llvm.org/D99484



More information about the libc-commits mailing list