[Lldb-commits] [lldb] [lldb][cmake] Add clang resource dir to LLDB shell tests config (PR #136761)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Tue Apr 29 11:55:21 PDT 2025


================
@@ -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}/..")
----------------
bulbazord wrote:

Why do you move up a directory here?

https://github.com/llvm/llvm-project/pull/136761


More information about the lldb-commits mailing list