diff options
| author | Haibo Huang <hhb@google.com> | 2019-10-30 10:33:05 -0700 |
|---|---|---|
| committer | Haibo Huang <hhb@google.com> | 2019-11-06 14:05:35 -0800 |
| commit | 77a60f0df673074a2c9276498f95a9eaadeece56 (patch) | |
| tree | dd0ffd1a33f89e2feb08f8652699615eaca1e931 /lldb/tools/driver | |
| parent | 9bfa5ab3d1982a7cef60ee00b935f4ddc89fc98e (diff) | |
| download | bcm5719-llvm-77a60f0df673074a2c9276498f95a9eaadeece56.tar.gz bcm5719-llvm-77a60f0df673074a2c9276498f95a9eaadeece56.zip | |
[lldb] Record framework build path and use it everywhere
This avoids config time dependencies on liblldb. And enables other refactoring.
Diffstat (limited to 'lldb/tools/driver')
| -rw-r--r-- | lldb/tools/driver/CMakeLists.txt | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lldb/tools/driver/CMakeLists.txt b/lldb/tools/driver/CMakeLists.txt index 06dc88afdaa..fc10570f5b6 100644 --- a/lldb/tools/driver/CMakeLists.txt +++ b/lldb/tools/driver/CMakeLists.txt @@ -33,10 +33,9 @@ set_target_properties(LLDBOptionsTableGen PROPERTIES FOLDER "lldb misc") if(LLDB_BUILD_FRAMEWORK) # In the build-tree, we know the exact path to the framework directory. # The installed framework can be in different locations. - get_target_property(framework_build_dir liblldb LIBRARY_OUTPUT_DIRECTORY) lldb_setup_rpaths(lldb BUILD_RPATH - "${framework_build_dir}" + "${LLDB_FRAMEWORK_ABSOLUTE_BUILD_DIR}" INSTALL_RPATH "@loader_path/../../../SharedFrameworks" "@loader_path/../../System/Library/PrivateFrameworks" |

