mirror of
https://github.com/ra3xdh/qucs_s
synced 2025-03-28 21:13:26 +00:00
macOS: Deploy plugins only for non-static builds
This commit is contained in:
parent
2c4b3c2157
commit
ea1531bc8f
@ -122,7 +122,7 @@ INSTALL(TARGETS ${QUCS_NAME}attenuator
|
||||
# Install needed Qt plugins by copying directories from the qt installation
|
||||
# One can cull what gets copied by using 'REGEX "..." EXCLUDE'
|
||||
#
|
||||
IF(APPLE)
|
||||
IF(APPLE AND QT_PLUGINS_DIR)
|
||||
INSTALL(DIRECTORY "${QT_PLUGINS_DIR}/imageformats" DESTINATION bin/${plugin_dest_dir}/plugins COMPONENT Runtime)
|
||||
ENDIF()
|
||||
#
|
||||
|
@ -165,7 +165,7 @@ INSTALL(TARGETS ${QUCS_NAME}trans
|
||||
# Install needed Qt plugins by copying directories from the qt installation
|
||||
# One can cull what gets copied by using 'REGEX "..." EXCLUDE'
|
||||
#
|
||||
IF(APPLE)
|
||||
IF(APPLE AND QT_PLUGINS_DIR)
|
||||
INSTALL(DIRECTORY "${QT_PLUGINS_DIR}/imageformats" DESTINATION bin/${plugin_dest_dir}/plugins COMPONENT Runtime)
|
||||
ENDIF()
|
||||
#
|
||||
|
@ -285,7 +285,7 @@ INSTALL(TARGETS ${QUCS_NAME}
|
||||
# Install needed Qt plugins by copying directories from the qt installation
|
||||
# One can cull what gets copied by using 'REGEX "..." EXCLUDE'
|
||||
#
|
||||
IF(APPLE)
|
||||
IF(APPLE AND QT_PLUGINS_DIR)
|
||||
INSTALL(DIRECTORY "${QT_PLUGINS_DIR}/imageformats" DESTINATION bin/${plugin_dest_dir}/plugins COMPONENT Runtime)
|
||||
ENDIF()
|
||||
#
|
||||
|
Loading…
x
Reference in New Issue
Block a user