summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorNoah Mayr <max96at@gmail.com>2014-01-02 15:22:57 +0100
committerNoah Mayr <max96at@gmail.com>2014-01-02 15:22:57 +0100
commit1bdac97af51b77ddcf4934752c2a7d0704c8f7be (patch)
tree22bc686b7fbd4c3b32a52d4a14c00d00b0f55f1d /CMakeLists.txt
parent4af5bef66fdde0dfdad469dcc803dd39fdfde1c6 (diff)
downloadMultiMC-1bdac97af51b77ddcf4934752c2a7d0704c8f7be.tar
MultiMC-1bdac97af51b77ddcf4934752c2a7d0704c8f7be.tar.gz
MultiMC-1bdac97af51b77ddcf4934752c2a7d0704c8f7be.tar.lz
MultiMC-1bdac97af51b77ddcf4934752c2a7d0704c8f7be.tar.xz
MultiMC-1bdac97af51b77ddcf4934752c2a7d0704c8f7be.zip
Fixed buttons on osx by adding the accessible plugin.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 39ff15c0..ab04c280 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -612,6 +612,18 @@ INSTALL(
REGEX "d\\." EXCLUDE
REGEX "_debug\\." EXCLUDE
)
+IF(APPLE)
+ # Accessible plugin to make buttons look decent on osx
+ INSTALL(
+ DIRECTORY "${QT_PLUGINS_DIR}/accessible"
+ DESTINATION ${PLUGIN_DEST_DIR}
+ COMPONENT Runtime
+ REGEX "quick" EXCLUDE
+ REGEX "d\\." EXCLUDE
+ REGEX "_debug\\." EXCLUDE
+ )
+ENDIF()
+
endif()
# qtconf