┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2022-03-20 20:16:04 +0100
committerNicolas Fella <[email protected]>2022-03-21 20:43:31 +0100
commit1cd00946c411f525d25b288a93e276a25e9a49b7 (patch)
tree5d39b1d784fdc057c8167595a1381e842d7da996 /src
parent109eb3334d14a39cb5c87897042a57b9da255cfe (diff)
Port to target-based ecm_add_app_icon
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index bb898b5a7..0c1bcb2b9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -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