mirror of
https://github.com/Murmele/Gittyup.git
synced 2024-11-05 02:46:56 +03:00
install images correctly
This commit is contained in:
parent
1d3ea1c23c
commit
50f3b55c34
@ -192,10 +192,19 @@ if(NOT APPLE)
|
||||
endif()
|
||||
|
||||
if(UNIX AND NOT APPLE)
|
||||
install(
|
||||
DIRECTORY ${RSRC_DIR}/Gittyup.iconset
|
||||
DESTINATION "Resources"
|
||||
COMPONENT ${GITTYUP_NAME})
|
||||
foreach(icon 16 32 64 128 256 512)
|
||||
install(
|
||||
FILES ${RSRC_DIR}/Gittyup.iconset/icon_${icon}x${icon}.png
|
||||
DESTINATION share/icons/hicolor/${icon}x${icon}/apps
|
||||
COMPONENT ${GITTYUP_NAME}
|
||||
RENAME gittyup.png)
|
||||
|
||||
install(
|
||||
FILES ${RSRC_DIR}/Gittyup.iconset/gittyup_logo.svg
|
||||
DESTINATION share/icons/hicolor/scalable/apps
|
||||
COMPONENT ${GITTYUP_NAME}
|
||||
RENAME gittyup.png)
|
||||
endforeach()
|
||||
endif()
|
||||
|
||||
# Sign bundle on macOS.
|
||||
|
Loading…
Reference in New Issue
Block a user