Skip to content

Commit

Permalink
[CMake][LLDB] Resolve install conflict when LLDB_BUILD_FRAMEWORK=ON
Browse files Browse the repository at this point in the history
Try to fix llvm/llvm-project#108

Install python scripts into canonical resource path

Differential revision: https://reviews.llvm.org/D116853
  • Loading branch information
paperchalice authored and memfrob committed Oct 4, 2022
1 parent f32fcfa commit 141bb30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lldb/bindings/python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ function(finish_swig_python swig_target lldb_python_bindings_dir lldb_python_tar

# Install the LLDB python module
if(LLDB_BUILD_FRAMEWORK)
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Resources/Python)
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources/Python)
else()
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_PYTHON_RELATIVE_PATH})
endif()
Expand Down

0 comments on commit 141bb30

Please sign in to comment.