From 117ac915c329321095b6f4d3d9b547606fccad0d Mon Sep 17 00:00:00 2001 From: Weixuan Xiao Date: Fri, 29 Apr 2022 14:18:03 +0000 Subject: [PATCH] Fix missing icons on macOS due to install dirs change Reported by @Rishik at Telegram: The app doesn't show any UI(from 1499 to 1508). Removing the deprecated `ICON_INSTALL_DIR` on macOS. Using `KDE_INSTALL_ICONDIR` instead, following f7f3c01e. --- icons/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/icons/CMakeLists.txt b/icons/CMakeLists.txt index d5bea84f5..f44055b68 100644 --- a/icons/CMakeLists.txt +++ b/icons/CMakeLists.txt @@ -8,8 +8,8 @@ list(APPEND APP_ICONS if(APPLE) # Craft adds share/icons into blacklist, which will not be copied into the bundle - # As a workaround, on macOS, set ICON_INSTALL_DIR to another path - set(ICON_INSTALL_DIR share/kdeconnect-icons) + # As a workaround, on macOS, set KDE_INSTALL_ICONDIR to another path + set(KDE_INSTALL_ICONDIR share/kdeconnect-icons) endif() ecm_install_icons(ICONS ${APP_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR})