diff --git a/shell_integration/icons/CMakeLists.txt b/shell_integration/icons/CMakeLists.txt index 3fb7c55ba..a2531a58c 100644 --- a/shell_integration/icons/CMakeLists.txt +++ b/shell_integration/icons/CMakeLists.txt @@ -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() + + +