# HG changeset patch # User Michiel Broek # Date 1697637606 -7200 # Node ID 73501316e30067e3d6097390ffcc99dd11dcd353 # Parent 6884d00dd16c521913bc74347362d293db5a0f5e Added application icon diff -r 6884d00dd16c -r 73501316e300 CMakeLists.txt --- a/CMakeLists.txt Tue Oct 17 09:17:02 2023 +0200 +++ b/CMakeLists.txt Wed Oct 18 16:00:06 2023 +0200 @@ -376,6 +376,10 @@ message("** parse sources for new translations") qt5_create_translation(QM_FILES ${SOURCE_FILES} ${TS_FILES}) + SET( bmsapp_ICON + ${ROOTDIR}/resources/icons/bms/bmsapp.png + ) + SET( bmsapp_DESKTOP ${ROOTDIR}/bmsapp.desktop ) @@ -407,8 +411,12 @@ RUNTIME DESTINATION bin ) + INSTALL( FILES ${bmsapp_ICON} + DESTINATION "${DATAROOTDIR}/pixmaps" + ) + INSTALL( FILES ${bmsapp_DESKTOP} - DESTINATION "${DATAROOTDIR}/applications" + DESTINATION "${DATAROOTDIR}/applications" ) INSTALL( FILES ${QM_FILES} diff -r 6884d00dd16c -r 73501316e300 resources/icons/bms/bmsapp.png Binary file resources/icons/bms/bmsapp.png has changed