summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-01-08 14:10:18 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-01-08 14:10:24 (GMT)
commitfb797841362e3eeec4ce18bf53473dd6ebb33363 (patch)
tree1a5b4a81092ab352f750ccae62aabd42fb1f6525 /Source
parent48f5b36aeeabb5bdae7b9fbff2791d22606d7d95 (diff)
parent6410425e5b036dc643ea40343899c04cf8b2fc85 (diff)
downloadCMake-fb797841362e3eeec4ce18bf53473dd6ebb33363.zip
CMake-fb797841362e3eeec4ce18bf53473dd6ebb33363.tar.gz
CMake-fb797841362e3eeec4ce18bf53473dd6ebb33363.tar.bz2
Merge topic 'rel-macos-modern' into release-3.19
6410425e5b ci: build separate macOS packages for macOS 10.13+ and macOS 10.10+ bbec5a03c8 Utilities/Release: Add script to build Qt 5.15.2 macOS universal binaries 97e238f61b Utilities/Release: Fix macOS Qt 5.9 build script umask 2c5f30b472 cmake-gui: Fix macOS styling for binaries distributed with Qt 5.10+ 3679b74a69 gitlab-ci: update upload jobs to go to cmake.org Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5672
Diffstat (limited to 'Source')
-rw-r--r--Source/QtDialog/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt
index 452a303..f7d9b77 100644
--- a/Source/QtDialog/CMakeLists.txt
+++ b/Source/QtDialog/CMakeLists.txt
@@ -57,6 +57,9 @@ if(CMake_INSTALL_DEPENDENCIES AND (APPLE OR WIN32))
endmacro()
if(APPLE)
install_qt5_plugin("Qt5::QCocoaIntegrationPlugin" QT_PLUGINS)
+ if(TARGET Qt5::QMacStylePlugin)
+ install_qt5_plugin("Qt5::QMacStylePlugin" QT_PLUGINS)
+ endif()
file(WRITE "${CMAKE_CURRENT_BINARY_DIR}/qt.conf"
"[Paths]\nPlugins = ${_qt_plugin_dir}\n")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/qt.conf"