mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
Bundle only the QCA plugins that are used on Mac
This commit is contained in:
parent
2e011bcf4f
commit
1a22b14d60
@ -197,11 +197,12 @@ ENDIF ()
|
||||
EXECUTE_PROCESS (COMMAND mkdir -p "${QPLUGDIR}/../crypto")
|
||||
FIND_QCA_PLUGIN_DIR (1)
|
||||
MESSAGE (STATUS "Updating QCA plugins with QCA library path in ${QCA_PLUGIN_DIR} ...")
|
||||
FILE (GLOB QCA_PLUGINS RELATIVE "${QCA_PLUGIN_DIR}/crypto" "${QCA_PLUGIN_DIR}/crypto/libqca*")
|
||||
# don't copy over any unneeded plugins
|
||||
SET(QCA_PLUGINS logger ossl softstore)
|
||||
FOREACH (qca_plugin ${QCA_PLUGINS})
|
||||
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${QCA_PLUGIN_DIR}/crypto/${qca_plugin}" "${QPLUGDIR}/../crypto/")
|
||||
EXECUTE_PROCESS (COMMAND ditto ${QARCHS} "${QCA_PLUGIN_DIR}/crypto/libqca-${qca_plugin}.dylib" "${QPLUGDIR}/../crypto/")
|
||||
IF (QCA_CHG)
|
||||
INSTALLNAMETOOL_CHANGE ("${QCA_CHG}" "${QCA_CHG_TO}" "${QPLUGDIR}/../crypto/${qca_plugin}")
|
||||
INSTALLNAMETOOL_CHANGE ("${QCA_CHG}" "${QCA_CHG_TO}" "${QPLUGDIR}/../crypto/libqca-${qca_plugin}.dylib")
|
||||
ENDIF ()
|
||||
ENDFOREACH ()
|
||||
|
||||
@ -396,7 +397,7 @@ FOREACH (QFW ${QTLISTQG})
|
||||
ENDIF ()
|
||||
# qca plugins
|
||||
FOREACH (qca_plugin ${QCA_PLUGINS})
|
||||
INSTALLNAMETOOL_CHANGE ("${QFW_CHG}" "${QFW_CHG_TO}" "${QPLUGDIR}/../crypto/${qca_plugin}")
|
||||
INSTALLNAMETOOL_CHANGE ("${QFW_CHG}" "${QFW_CHG_TO}" "${QPLUGDIR}/../crypto/libqca-${qca_plugin}.dylib")
|
||||
ENDFOREACH ()
|
||||
# osg qfont plugin
|
||||
IF (@HAVE_OSGEARTHQT@)
|
||||
|
Loading…
x
Reference in New Issue
Block a user