mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 04:55:48 +03:00
CMake: Install icons under linux.
This commit is contained in:
parent
f983264b5d
commit
a0a5a49d7b
1 changed files with 12 additions and 0 deletions
|
@ -7,3 +7,15 @@ if( BUILD_OWNCLOUD_OSX_BUNDLE AND NOT BUILD_LIBRARIES_ONLY )
|
|||
install(FILES ${mac_icons} DESTINATION ${ICON_DIR})
|
||||
endif()
|
||||
|
||||
if( UNIX AND NOT APPLE )
|
||||
|
||||
SET(ICON_DIR ${DATADIR}/icons/hicolor)
|
||||
|
||||
FOREACH(size 128x128 16x16 256x256 32x32 48x48 64x64 72x72)
|
||||
install(DIRECTORY ${size} DESTINATION ${ICON_DIR}/${size}/apps FILES_MATCHING PATTERN "*.png")
|
||||
ENDFOREACH(size)
|
||||
|
||||
endif()
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue