Skip to content

Commit

Permalink
CMake: Fix desktop icon installation
Browse files Browse the repository at this point in the history
Also .desktop file refers to kobodl as icon-name so should be left unchanged
  • Loading branch information
lanodan committed Jan 31, 2024
1 parent 943aa38 commit f45b765
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,8 @@ install(FILES ${doc_files}
# Desktop entry
if(NOT WIN32)
set(KOBO_DE_FILE "net.olofson.${KOBO_PACKAGE_NAME}.desktop")
install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodeluxe.png"
DESTINATION "share/pixmaps"
RENAME "${KOBO_PACKAGE_NAME}.png")
install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/kobodl.png"
DESTINATION "share/pixmaps")
install(FILES "${KOBODELUXE_SOURCE_DIR}/icons/${KOBO_DE_FILE}"
DESTINATION "share/applications")
endif(NOT WIN32)
Expand Down

0 comments on commit f45b765

Please sign in to comment.