Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
Fix icon install
  • Loading branch information
rodlie committed May 30, 2024
1 parent ed8eccb commit a158c8c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/app/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -384,15 +384,15 @@ if(UNIX AND NOT APPLE)
foreach(HICOLOR_DIR ${HICOLOR_DIRS})
install(
FILES
icons/hicolor/${HICOLOR_DIR}/apps/${PROJECT_NAME}.png
icons/hicolor/${HICOLOR_DIR}/apps/${PROJECT_FREEDESKTOP}.png
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${HICOLOR_DIR}/apps
RENAME
${PROJECT_FREEDESKTOP}.png
)
install(
FILES
icons/hicolor/${HICOLOR_DIR}/mimetypes/application-x-${PROJECT_NAME}.png
icons/hicolor/${HICOLOR_DIR}/mimetypes/application-x-${PROJECT_FREEDESKTOP}.png
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/${HICOLOR_DIR}/mimetypes
RENAME
Expand All @@ -401,15 +401,15 @@ if(UNIX AND NOT APPLE)
endforeach()
install(
FILES
icons/hicolor/scalable/apps/${PROJECT_NAME}.svg
icons/hicolor/scalable/apps/${PROJECT_FREEDESKTOP}.svg
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/apps
RENAME
${PROJECT_FREEDESKTOP}.svg
)
install(
FILES
icons/hicolor/scalable/mimetypes/application-x-${PROJECT_NAME}.svg
icons/hicolor/scalable/mimetypes/application-x-${PROJECT_FREEDESKTOP}.svg
DESTINATION
${CMAKE_INSTALL_DATAROOTDIR}/icons/hicolor/scalable/mimetypes
RENAME
Expand Down

0 comments on commit a158c8c

Please sign in to comment.