Commit 117ac915 authored by Weixuan Xiao's avatar Weixuan Xiao
Browse files

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.
parent a0452788
Pipeline #169766 passed with stage
in 2 minutes and 56 seconds
......@@ -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})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment