Commit bf2152cf authored by Yumin Yuan's avatar Yumin Yuan Committed by Kitware Robot

Merge topic 'fix-osx-build'

8180dafa Fixed OSX's SMTK python installation
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Merge-request: !50
parents 7a79d243 8180dafa
......@@ -11,7 +11,7 @@ execute_process(COMMAND ${CMAKE_COMMAND} -E make_directory ${plugin_install_dir}
set(py_files_libs ${SMTK_BIN_DIR}/lib/SMTKCorePython.so
${SMTK_BIN_DIR}/lib/libshiboken-python${PYTHON_VERSION}.1.2.dylib
${SMTK_BIN_DIR}/lib/python${PYTHON_VERSION}/site-packages/shiboken.so
${SMTK_BIN_DIR}/python/smtk/simple.py)
${SMTK_BIN_DIR}/libexec/python/site-packages/smtk/simple.py)
foreach(lib ${py_files_libs})
execute_process(COMMAND ${CMAKE_COMMAND} -E copy ${lib} ${TMP_DIR}/SMTKPlugin)
endforeach()
......@@ -26,7 +26,7 @@ execute_process(
execute_process(
COMMAND ${CMAKE_CURRENT_LIST_DIR}/../remove_code.py
${SMTK_BIN_DIR}/python/smtk/__init__.py
${SMTK_BIN_DIR}/libexec/python/site-packages/smtk/__init__.py
${TMP_DIR}/SMTKPlugin/__init__.py
)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment