From 09cac9dd9b8e28fa44f64e991638bd1970db21f4 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Thu, 26 Oct 2023 13:40:51 +0100 Subject: [PATCH] Add svg icon to AppImage --- source/app/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/app/CMakeLists.txt b/source/app/CMakeLists.txt index 3c42f73c3..b6e2928c5 100644 --- a/source/app/CMakeLists.txt +++ b/source/app/CMakeLists.txt @@ -334,6 +334,10 @@ else() RENAME ${PROJECT_NAME}.png) endforeach() + install(FILES ${CMAKE_CURRENT_LIST_DIR}/icon/Icon.svg + DESTINATION share/icons/hicolor/scalable/apps + RENAME ${PROJECT_NAME}.svg) + configure_file(${CMAKE_CURRENT_LIST_DIR}/application.desktop.in ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop @ONLY) install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}.desktop