diff options
author | Martin Storsjö <martin@martin.st> | 2024-03-21 17:29:15 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-21 17:29:15 +0200 |
commit | 50801f1095d33e712c3a51fdeef82569bd09007f (patch) | |
tree | 02ab290e124aad395dc2e815288393ba37c64ead /lldb/source/Commands/CommandObjectSource.cpp | |
parent | c04807c84e2a2653ab325f1b8ec73916565e6c54 (diff) | |
download | llvm-50801f1095d33e712c3a51fdeef82569bd09007f.zip llvm-50801f1095d33e712c3a51fdeef82569bd09007f.tar.gz llvm-50801f1095d33e712c3a51fdeef82569bd09007f.tar.bz2 |
Reapply [libcxx] [modules] Fix relative paths with absolute LIBCXX_INSTALL_MODULES_DIR (#86020)
This reapplies 272d1b44efdedb68c194970a610f0ca1b7b769c5 (from #85756),
which was reverted in
407937036fa7640f61f225474b1ea6623a40dbdd.
In the previous attempt, empty CMAKE_INSTALL_PREFIX was handled by
quoting them, in d209d1340b99d4fbd325dffb5e13b757ab8264ea. That made the
calls to cmake_path(ABSOLUTE_PATH) succeed, but the output paths of that
weren't actually absolute, which was required by file(RELATIVE_PATH).
Avoid this issue by constructing a non-empty base directory variable
to use for calculating the relative path.
Diffstat (limited to 'lldb/source/Commands/CommandObjectSource.cpp')
0 files changed, 0 insertions, 0 deletions