From 19af913fdcb89abaaf3525e2acf823b147b2d83d Mon Sep 17 00:00:00 2001 From: Tres Finocchiaro Date: Sat, 8 Feb 2025 15:55:24 -0500 Subject: [PATCH] Remove "optional" directory from AppImage --- cmake/linux/LinuxDeploy.cmake | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cmake/linux/LinuxDeploy.cmake b/cmake/linux/LinuxDeploy.cmake index fd3f9cb0f2c..ea9d0758ad7 100644 --- a/cmake/linux/LinuxDeploy.cmake +++ b/cmake/linux/LinuxDeploy.cmake @@ -268,6 +268,9 @@ if(relocated_jack) endif() endif() +# cleanup empty directories +file(REMOVE_RECURSE "${APP}/usr/lib/${lmms}/optional/") + if(CPACK_TOOL STREQUAL "appimagetool") # Create ".AppImage" file using appimagetool (default)