diff options
author | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-12-18 11:03:48 +0100 |
---|---|---|
committer | DioEgizio <83089242+DioEgizio@users.noreply.github.com> | 2022-12-18 11:03:48 +0100 |
commit | 6e07c11f651b590a9223db550218eb2c827a69df (patch) | |
tree | 01e38ec7e75fead7f71034d8e8c2611315dcf668 /launcher | |
parent | 8da6667816c7a62673e832618659ecf7e16f281e (diff) | |
download | PrismLauncher-6e07c11f651b590a9223db550218eb2c827a69df.tar.gz PrismLauncher-6e07c11f651b590a9223db550218eb2c827a69df.tar.bz2 PrismLauncher-6e07c11f651b590a9223db550218eb2c827a69df.zip |
fix: exclude unused tls backends
makes bundles slightly smaller on windows and macos:
- qopensslbackend will not be used neither on macos nor on qt6 windows, so let's just not copy it
- qcertonlybackend won't be used and wouldn't work for prism anyways as it doesn't support some features we use
Signed-off-by: DioEgizio <83089242+DioEgizio@users.noreply.github.com>
Diffstat (limited to 'launcher')
-rw-r--r-- | launcher/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/launcher/CMakeLists.txt b/launcher/CMakeLists.txt index 439feb44..a0d92b6e 100644 --- a/launcher/CMakeLists.txt +++ b/launcher/CMakeLists.txt @@ -1166,6 +1166,8 @@ if(INSTALL_BUNDLE STREQUAL "full") CONFIGURATIONS Debug RelWithDebInfo "" DESTINATION ${PLUGIN_DEST_DIR} COMPONENT Runtime + PATTERN "*qopensslbackend*" EXCLUDE + PATTERN "*qcertonlybackend*" EXCLUDE ) install( DIRECTORY "${QT_PLUGINS_DIR}/tls" @@ -1175,6 +1177,8 @@ if(INSTALL_BUNDLE STREQUAL "full") REGEX "dd\\." EXCLUDE REGEX "_debug\\." EXCLUDE REGEX "\\.dSYM" EXCLUDE + PATTERN "*qopensslbackend*" EXCLUDE + PATTERN "*qcertonlybackend*" EXCLUDE ) endif() configure_file( |