updated qt6 deploy configurations

This commit is contained in:
matlabbe
2023-03-18 00:13:14 -07:00
parent 46edd15121
commit e66ea7b42b

View File

@@ -134,9 +134,18 @@ IF(BUILD_AS_BUNDLE AND (APPLE OR WIN32))
VERBOSE
PLUGINS_DIR ${plugin_dest_dir}/plugins
)")
install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/deploy_appDebug.cmake"
CONFIGURATIONS Debug
COMPONENT runtime)
install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/deploy_appRelease.cmake"
CONFIGURATIONS Release
COMPONENT runtime)
install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/deploy_appRelWithDebInfo.cmake"
CONFIGURATIONS RelWithDebInfo
COMPONENT runtime)
install(SCRIPT "${CMAKE_CURRENT_BINARY_DIR}/deploy_appMinSizeRel.cmake"
CONFIGURATIONS MinSizeRel
COMPONENT runtime)
ELSEIF(Qt5_FOUND)
#Qt5
foreach(plugin ${Qt5Gui_PLUGINS})