Skip to content
Permalink
Browse files

bundle sip to correct dir

  • Loading branch information
William Kyngesburye
William Kyngesburye committed Oct 25, 2018
1 parent 25c94d4 commit 6526dd08944fd43e78b597926091551639b247a5
Showing with 5 additions and 1 deletion.
  1. +5 −1 mac/cmake/1qt.cmake.in
@@ -279,7 +279,11 @@ PYTHONMODULEDIR("sip.so" SIPMODDIR)
IF (SIPMODDIR)
IF (NOT EXISTS "${QGISPYDIR}/sip.so")
# MYMESSAGE ("ditto ${QARCHS} \"${SIPMODDIR}/sip.so\" \"${QGISPYDIR}/\"")
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${SIPMODDIR}/sip.so" "${QGISPYDIR}/")
IF (${SIPMODDIR} MATCHES ".*PyQt5.*")
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${SIPMODDIR}/sip.so" "${QGISPYDIR}/PyQt5/")
ELSE ()
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${SIPMODDIR}/sip.so" "${QGISPYDIR}/")
ENDIF ()
EXECUTE_PROCESS (COMMAND cp -fp "${SIPMODDIR}/sipconfig.py" "${QGISPYDIR}/")
ENDIF ()
ELSE ()

0 comments on commit 6526dd0

Please sign in to comment.
You can’t perform that action at this time.