aboutsummaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-23 18:09:18 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-23 18:27:43 +0200
commitcbdb1cfaa60a3ab1b3a94ad53aa2661df7e22701 (patch)
tree9583e25e411af0c7c9f67654ad4828032e8aeccc /CMakeLists.txt
parent03ebaddff5101449e020dac1301bf8c9df9446ea (diff)
downloadtdv-cbdb1cfaa60a3ab1b3a94ad53aa2661df7e22701.tar.gz
tdv-cbdb1cfaa60a3ab1b3a94ad53aa2661df7e22701.tar.xz
tdv-cbdb1cfaa60a3ab1b3a94ad53aa2661df7e22701.zip
Remove unnecessary DLLs from Windows builds
This saves 21 MiB of MSYS2 libraries, without any adverse effects. The MSYS2 build remains bloated, due to the Adwaita icon theme.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 22c465c..cd1cbbb 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -244,8 +244,7 @@ elseif (WITH_GUI)
install (DIRECTORY
${WIN32_DEPENDS_PATH}/bin/
DESTINATION .
- FILES_MATCHING PATTERN "*.dll"
- PATTERN "libgettext*" EXCLUDE)
+ FILES_MATCHING PATTERN "*.dll")
install (DIRECTORY
${WIN32_DEPENDS_PATH}/etc/
DESTINATION etc)
@@ -263,6 +262,8 @@ elseif (WITH_GUI)
install (FILES
${WIN32_DEPENDS_PATH}/share/icons/hicolor/index.theme
DESTINATION share/icons/hicolor)
+
+ install (SCRIPT cmake/Win32Cleanup.cmake)
endif ()
# Do some unit tests