From 7b15248a89db9fbdef56b65c4a5397980b82e392 Mon Sep 17 00:00:00 2001 From: Filippo Gentile Date: Fri, 3 Dec 2021 23:11:00 +0100 Subject: [PATCH] CMake: fix install icon extension Linux CPack --- src/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2519fa22..1439823a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -377,11 +377,11 @@ if(UNIX AND NOT APPLE) # Install SVG icon install(FILES ${CMAKE_SOURCE_DIR}/packaging/linux/icons/train.svg DESTINATION ${LINUX_ICON_DIR_BASE}/scalable/apps/ - RENAME ${MR_TIMETABLE_PLANNER_TARGET}.png) + RENAME ${MR_TIMETABLE_PLANNER_TARGET}.svg) install(FILES ${CMAKE_SOURCE_DIR}/packaging/linux/icons/train.svg DESTINATION ${LINUX_ICON_DIR_BASE}/scalable/mimetypes/ - RENAME application-vnd.${APP_COMPANY_NAME_LOWER}-${MR_TIMETABLE_PLANNER_TARGET}-session-sqlite3.png) + RENAME application-vnd.${APP_COMPANY_NAME_LOWER}-${MR_TIMETABLE_PLANNER_TARGET}-session-sqlite3.svg) # Install desktop file install(FILES ${CMAKE_SOURCE_DIR}/packaging/linux/${MR_TIMETABLE_PLANNER_TARGET}.desktop