================
@@ -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)
----------------
chelcassanova wrote:

This actually only happens if the `clang-resource-dir` target doesn't exist. 
When I built standalone, that target did exist so the 
`LLDB_EXTERNAL_CLANG_RESOURCE_DIR` is never populated. I changed it so that if 
that target doesn't exist when we're trying to set `CLANG_RESOURCE_DIR`, we use 
`LLDB_EXTERNAL_CLANG_RESOURCE_DIR`.

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

Reply via email to