app: add app icon for windows build

This commit is contained in:
Piyush Aggarwal 2021-06-14 17:41:21 +05:30
parent 146a359b7e
commit 1386e54111

View file

@ -2,6 +2,20 @@ qt5_add_resources(kdeconnect_SRCS resources.qrc)
qt5_add_resources(kdeconnect_custom_icons_SRCS ${CMAKE_SOURCE_DIR}/icons/custom_icons.qrc)
if (WIN32)
ecm_add_app_icon(kdeconnect_SRCS ICONS
${CMAKE_SOURCE_DIR}/icons/app/sc-apps-kdeconnect.svg
${CMAKE_SOURCE_DIR}/icons/app/16-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/24-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/32-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/48-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/64-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/128-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/256-apps-kdeconnect.png
${CMAKE_SOURCE_DIR}/icons/app/1024-apps-kdeconnect.png
)
endif()
add_executable(kdeconnect-app
main.cpp
${kdeconnect_SRCS}