diff options
author | Haibo Huang <hhb@google.com> | 2019-10-09 22:34:55 +0000 |
---|---|---|
committer | Haibo Huang <hhb@google.com> | 2019-10-09 22:34:55 +0000 |
commit | 1a509417714dbf658c04aabc66ff599a70f176cc (patch) | |
tree | fa029eb90f6f9e4e026cca8857302e0cbe017383 | |
parent | b555ea5ff93826fa0220a2c90a623145a5406d0b (diff) | |
download | bcm5719-llvm-1a509417714dbf658c04aabc66ff599a70f176cc.tar.gz bcm5719-llvm-1a509417714dbf658c04aabc66ff599a70f176cc.zip |
[lldb] Put site-packages into a sub dir of CMAKE_CFG_INTDIR
Summary: Fixes issue like D68719
Reviewers: tatyana-krasnukha
Subscribers: mgorny, lldb-commits
Tags: #lldb
Differential Revision: https://reviews.llvm.org/D68728
llvm-svn: 374250
-rw-r--r-- | lldb/CMakeLists.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/CMakeLists.txt b/lldb/CMakeLists.txt index 58a7ef1a9a7..82a75deef5e 100644 --- a/lldb/CMakeLists.txt +++ b/lldb/CMakeLists.txt @@ -202,8 +202,9 @@ if (NOT LLDB_DISABLE_PYTHON) if(LLDB_BUILD_FRAMEWORK) set(lldb_python_build_path "${liblldb_build_dir}/LLDB.framework/Resources/Python/lldb") else() - set(lldb_python_build_path "${CMAKE_BINARY_DIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb") + set(lldb_python_build_path "${CMAKE_BINARY_DIR}/${CMAKE_CFG_INTDIR}/${LLDB_PYTHON_RELATIVE_PATH}/lldb") endif() + get_filename_component(lldb_python_build_path ${lldb_python_build_path} ABSOLUTE) # Add a Post-Build Event to copy over Python files and create the symlink # to liblldb.so for the Python API(hardlink on Windows). |