From: Nicolas Fella Date: Sun, 20 Mar 2022 19:16:04 +0000 (+0100) Subject: Port to target-based ecm_add_app_icon X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/commitdiff_plain/1cd00946c411f525d25b288a93e276a25e9a49b7 Port to target-based ecm_add_app_icon --- 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