cmake-gui: Restore installation of Qt plugin dependencies

Fix logic from commit f1de6f6682 (cmake-gui: Support building against
Qt6, 2020-12-17) to restore population of the `QT_PLUGINS` variable used
in our `fixup_bundle` call.
This commit is contained in:
Brad King
2021-01-07 13:00:53 -05:00
parent 321cb5978f
commit a65db7ef6a

View File

@@ -112,7 +112,7 @@ if(CMake_INSTALL_DEPENDENCIES AND (APPLE OR WIN32))
find_package(Qt${INSTALLED_QT_VERSION}${_qt_plugin} QUIET
PATHS ${Qt${INSTALLED_QT_VERSION}${_qt_comp}_DIR})
endif()
install_qt_plugin(${_qt_plugin} _plugins_var)
install_qt_plugin("${_qt_plugin}" "${_plugins_var}")
endforeach()
endforeach()
endmacro()