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:
parent
a045278822
commit
117ac915c3
1 changed files with 2 additions and 2 deletions
|
@ -8,8 +8,8 @@ list(APPEND APP_ICONS
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
# Craft adds share/icons into blacklist, which will not be copied into the bundle
|
# 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
|
# As a workaround, on macOS, set KDE_INSTALL_ICONDIR to another path
|
||||||
set(ICON_INSTALL_DIR share/kdeconnect-icons)
|
set(KDE_INSTALL_ICONDIR share/kdeconnect-icons)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
ecm_install_icons(ICONS ${APP_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR})
|
ecm_install_icons(ICONS ${APP_ICONS} DESTINATION ${KDE_INSTALL_ICONDIR})
|
||||||
|
|
Loading…
Reference in a new issue