================ @@ -1,6 +1,12 @@ add_custom_target(lldb-shell-test-deps) set_target_properties(lldb-shell-test-deps PROPERTIES FOLDER "LLDB/Tests") add_dependencies(lldb-shell-test-deps lldb-test-depends) +if(LLDB_BUILT_STANDALONE) + get_target_property(CLANG_RESOURCE_DIR clang-resource-headers INTERFACE_INCLUDE_DIRECTORIES) + set(CLANG_RESOURCE_DIR "${CLANG_RESOURCE_DIR}/..") ---------------- chelcassanova wrote:
Getting the directory in a standalone build (using the `get_target_property` call) gives us this: `<prefix>/llvm-build/./lib/../lib/clang/21/include/` whereas getting in a non-standalone build (using the `get_clang_resource_dir` call) gives us this: `<prefix>/lib/clang/21`. I'm moving the standalone value up a directory so that both values match regardless of how the build was done. I can add a comment to clarify this. https://github.com/llvm/llvm-project/pull/136761 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits