diff options
author | Petr Mrázek <peterix@gmail.com> | 2021-08-31 18:55:56 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2021-08-31 18:55:56 +0200 |
commit | cd87029e6fc0c8d8b25c9162812ae066066ad11a (patch) | |
tree | 4009e9d62f89071dd4408366f48eac9a02745677 /launcher | |
parent | 23442442d86862536acab5a7deca28c1c703b11e (diff) | |
download | PrismLauncher-cd87029e6fc0c8d8b25c9162812ae066066ad11a.tar.gz PrismLauncher-cd87029e6fc0c8d8b25c9162812ae066066ad11a.tar.bz2 PrismLauncher-cd87029e6fc0c8d8b25c9162812ae066066ad11a.zip |
NOISSUE add style plugins to packaging if present
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/CMakeLists.txt | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 7a5e4173..7241b89d 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -985,6 +985,14 @@ if(INSTALL_BUNDLE STREQUAL "full") COMPONENT Runtime REGEX "minimal|linuxfb|offscreen" EXCLUDE ) + # Style plugins + if(EXISTS "${QT_PLUGINS_DIR}/styles") + install( + DIRECTORY "${QT_PLUGINS_DIR}/styles" + DESTINATION ${PLUGIN_DEST_DIR} + COMPONENT Runtime + ) + endif() else() # Image formats install( @@ -1016,6 +1024,17 @@ if(INSTALL_BUNDLE STREQUAL "full") REGEX "_debug\\." EXCLUDE REGEX "\\.dSYM" EXCLUDE ) + # Style plugins + if(EXISTS "${QT_PLUGINS_DIR}/styles") + install( + DIRECTORY "${QT_PLUGINS_DIR}/styles" + DESTINATION ${PLUGIN_DEST_DIR} + COMPONENT Runtime + REGEX "d\\." EXCLUDE + REGEX "_debug\\." EXCLUDE + REGEX "\\.dSYM" EXCLUDE + ) + endif() endif() configure_file( "${CMAKE_CURRENT_SOURCE_DIR}/install_prereqs.cmake.in" |