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.
This commit is contained in:
Weixuan Xiao 2022-04-29 14:18:03 +00:00
parent a045278822
commit 117ac915c3

View file

@ -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})