Skip to content

Commit

Permalink
CMake: fix install icon extension Linux CPack
Browse files Browse the repository at this point in the history
  • Loading branch information
gfgit committed Dec 3, 2021
1 parent 2119ae0 commit 7b15248
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7b15248

Please sign in to comment.