summaryrefslogtreecommitdiffstats
path: root/application
diff options
context:
space:
mode:
authorJan Dalheimer <jan@dalheimer.de>2015-06-06 15:10:19 +0200
committerJan Dalheimer <jan@dalheimer.de>2015-06-06 15:10:19 +0200
commitdb69a3dacd82ff364cbf85d3218006392d09965f (patch)
tree8db10e07ce5870c24a819c784faaf773536c1cc4 /application
parent47f919173ed77f99514d1186b899f66127be8a71 (diff)
downloadMultiMC-db69a3dacd82ff364cbf85d3218006392d09965f.tar
MultiMC-db69a3dacd82ff364cbf85d3218006392d09965f.tar.gz
MultiMC-db69a3dacd82ff364cbf85d3218006392d09965f.tar.lz
MultiMC-db69a3dacd82ff364cbf85d3218006392d09965f.tar.xz
MultiMC-db69a3dacd82ff364cbf85d3218006392d09965f.zip
NOISSUE Don't attempt to package the accessible plugins on Qt >= 5.4
Diffstat (limited to 'application')
-rw-r--r--application/CMakeLists.txt21
1 files changed, 12 insertions, 9 deletions
diff --git a/application/CMakeLists.txt b/application/CMakeLists.txt
index bf1bab31..d7cb5777 100644
--- a/application/CMakeLists.txt
+++ b/application/CMakeLists.txt
@@ -433,15 +433,18 @@ else()
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
- )
+ # Accessible plugin to make buttons look decent on osx
+ if("${Qt5Core_VERSION_STRING}" VERSION_LESS "5.4.0")
+ message(STATUS "Packaging the Qt accessible plugins because we're on Qt ${Qt5Core_VERSION_STRING}")
+ install(
+ DIRECTORY "${QT_PLUGINS_DIR}/accessible"
+ DESTINATION ${PLUGIN_DEST_DIR}
+ COMPONENT Runtime
+ REGEX "quick" EXCLUDE
+ REGEX "d\\." EXCLUDE
+ REGEX "_debug\\." EXCLUDE
+ )
+ endif()
endif()
endif()