┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Fella <[email protected]>2022-03-20 20:16:04 +0100
committerNicolas Fella <[email protected]>2022-03-20 20:16:04 +0100
commit05132a2f1d90cbaec565454dc19a5ef50fc3cfb6 (patch)
tree58b81b8dd1308beef075a3560895f6c31750d032
parentfa72ae8577d7bae31cd92c8d393893a1ec214f80 (diff)
Port to target-based ecm_add_app_icon
-rw-r--r--src/CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 2e8555cbc..7c3e5b72b 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