]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Port to target-based ecm_add_app_icon
authorNicolas Fella <nicolas.fella@gmx.de>
Sun, 20 Mar 2022 19:16:04 +0000 (20:16 +0100)
committerNicolas Fella <nicolas.fella@gmx.de>
Sun, 20 Mar 2022 19:16:04 +0000 (20:16 +0100)
src/CMakeLists.txt

index 2e8555cbcdb8f2a65b1530fc7e159d2be2660522..7c3e5b72b28a8e17af7dbe2d7478113522ae0dd5 100644 (file)
@@ -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