Skip to content

Commit

Permalink
also check for private PyQt5/sip in Mac bundling
Browse files Browse the repository at this point in the history
  • Loading branch information
kyngchaos authored and nyalldawson committed Mar 17, 2020
1 parent 857ad0a commit a04bc86
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mac/cmake/1qt.cmake.in
Expand Up @@ -290,7 +290,7 @@ ENDFOREACH (PYPATH)
MESSAGE (STATUS "Copying sip...") MESSAGE (STATUS "Copying sip...")
PYTHONMODULEDIR("sip.so" SIPMODDIR) PYTHONMODULEDIR("sip.so" SIPMODDIR)
IF (SIPMODDIR) IF (SIPMODDIR)
IF (NOT EXISTS "${QGISPYDIR}/sip.so") IF (NOT EXISTS "${QGISPYDIR}/sip.so" AND NOT EXISTS "${QGISPYDIR}/PyQt5/sip.so")
# MYMESSAGE ("ditto ${QARCHS} \"${SIPMODDIR}/sip.so\" \"${QGISPYDIR}/\"") # MYMESSAGE ("ditto ${QARCHS} \"${SIPMODDIR}/sip.so\" \"${QGISPYDIR}/\"")
IF (${SIPMODDIR} MATCHES ".*PyQt5.*") IF (${SIPMODDIR} MATCHES ".*PyQt5.*")
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${SIPMODDIR}/sip.so" "${QGISPYDIR}/PyQt5/") EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${SIPMODDIR}/sip.so" "${QGISPYDIR}/PyQt5/")
Expand Down

0 comments on commit a04bc86

Please sign in to comment.