Skip to content

Commit 62af3eb

Browse files
paperchaliceJDevlieghere
authored andcommitted
[CMake][LLDB] Resolve install conflict when LLDB_BUILD_FRAMEWORK=ON
Try to fix #108 Install python scripts into canonical resource path Differential revision: https://reviews.llvm.org/D116853
1 parent a6469cd commit 62af3eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lldb/bindings/python/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ function(finish_swig_python swig_target lldb_python_bindings_dir lldb_python_tar
158158

159159
# Install the LLDB python module
160160
if(LLDB_BUILD_FRAMEWORK)
161-
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Resources/Python)
161+
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_FRAMEWORK_INSTALL_DIR}/LLDB.framework/Versions/${LLDB_FRAMEWORK_VERSION}/Resources/Python)
162162
else()
163163
set(LLDB_PYTHON_INSTALL_PATH ${LLDB_PYTHON_RELATIVE_PATH})
164164
endif()

0 commit comments

Comments
 (0)