From 27a9869a6a68a2898e08b7c977941b6781788ecb Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Tue, 26 Oct 2021 11:26:39 +0200 Subject: Trim down the Windows build a bit Remove most unused Adwaita icons and cursors, it's about 30 mebibytes of raw bullshit that doesn't seem to be missing in any shape or form. Rather sadly, the script is too complex to be rewritten in CMake script. --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 657f7c7..8505abe 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -264,6 +264,9 @@ elseif (WITH_GUI) DESTINATION share/icons/hicolor) install (SCRIPT cmake/Win32Cleanup.cmake) + install (CODE "execute_process (COMMAND + sh \"${PROJECT_SOURCE_DIR}/cmake/Win32CleanupAdwaita.sh\" + WORKING_DIRECTORY \${CMAKE_INSTALL_PREFIX})") endif () # Do some unit tests -- cgit v1.2.3-70-g09d2