aboutsummaryrefslogtreecommitdiff
path: root/clang-tools-extra/clang-doc/BitcodeReader.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <pcc@google.com>2025-06-27 16:04:35 -0700
committerGitHub <noreply@github.com>2025-06-27 16:04:35 -0700
commit71d4c9ce70e7558bdfe0d4362b3f8c21864a5ee5 (patch)
treef6b6dccf35c74bd81b3e8c8239c83b9a030e7a71 /clang-tools-extra/clang-doc/BitcodeReader.cpp
parent5ecd21a46ab1344499af4fdc0c7d4f793909d53b (diff)
downloadllvm-71d4c9ce70e7558bdfe0d4362b3f8c21864a5ee5.zip
llvm-71d4c9ce70e7558bdfe0d4362b3f8c21864a5ee5.tar.gz
llvm-71d4c9ce70e7558bdfe0d4362b3f8c21864a5ee5.tar.bz2
cmake: Allow CLANG_RESOURCE_DIR to be absolute.
Currently an absolute CLANG_RESOURCE_DIR is treated as being relative to bin. Fix that by using cmake_path(APPEND) to append the path to bin. The prepending of PREFIX is left as-is because callers passing PREFIX are usually forming a path within the build directory and would not want build products to be written to an absolute resource directory that is likely to be an installation prefix. One exception is the caller in lldb/cmake/modules/LLDBStandalone.cmake; for now it is not possible to build LLDB with an absolute resource directory until the users are disambiguated. Reviewers: petrhosek Reviewed By: petrhosek Pull Request: https://github.com/llvm/llvm-project/pull/145996
Diffstat (limited to 'clang-tools-extra/clang-doc/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions