diff options
author | Martin Storsjö <martin@martin.st> | 2024-03-20 10:45:43 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-20 10:45:43 +0200 |
commit | 272d1b44efdedb68c194970a610f0ca1b7b769c5 (patch) | |
tree | 3b67672908581976b83fec8e2e92078076509e46 /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 11dd881b9cca5f70720ead353169603589e6c494 (diff) | |
download | llvm-272d1b44efdedb68c194970a610f0ca1b7b769c5.zip llvm-272d1b44efdedb68c194970a610f0ca1b7b769c5.tar.gz llvm-272d1b44efdedb68c194970a610f0ca1b7b769c5.tar.bz2 |
[libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#85756)
In other contexts, install directories such as
LIBCXX_INSTALL_LIBRARY_DIR and LIBCXX_INSTALL_MODULES_DIR can be
specified either as a relative path, relative to CMAKE_INSTALL_PREFIX,
or as an absolute path.
When calculating the relative path between the two, account for the fact
that LIBCXX_INSTALL_MODULES_DIR and LIBCXX_INSTALL_LIBRARY_DIR can be
absolute paths too.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions