mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 01:40:02 +00:00
Port to target-based ecm_add_app_icon
This commit is contained in:
parent
109eb3334d
commit
1cd00946c4
|
@ -338,11 +338,7 @@ endif()
|
|||
|
||||
# Sets the icon on Windows and OSX
|
||||
file(GLOB ICONS_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/icons/*system-file-manager.png")
|
||||
ecm_add_app_icon(dolphin_APPICON_SRCS ICONS ${ICONS_SRCS})
|
||||
# ecm_add_app_icon 5.83 will take target as arg, use that once it is min req.
|
||||
target_sources(dolphin PRIVATE
|
||||
${dolphin_APPICON_SRCS}
|
||||
)
|
||||
ecm_add_app_icon(dolphin ICONS ${ICONS_SRCS})
|
||||
|
||||
target_link_libraries(dolphin
|
||||
PRIVATE
|
||||
|
|
Loading…
Reference in a new issue