summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/icons/hicolor/CMakeLists.txt5
1 files changed, 2 insertions, 3 deletions
diff --git a/share/icons/hicolor/CMakeLists.txt b/share/icons/hicolor/CMakeLists.txt
index 2a393d4ab..1e52c2dd8 100644
--- a/share/icons/hicolor/CMakeLists.txt
+++ b/share/icons/hicolor/CMakeLists.txt
@@ -10,7 +10,6 @@ foreach(pixmap_size ${PIXMAP_SIZES})
endforeach(content)
endforeach(pixmap_size)
-if(0)
- install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${INKSCAPE_SHARE_INSTALL}/icons/${THEME})")
- install(FILES ${INKSCAPE_SHARE_INSTALL}/icons/${THEME}/icon-theme.cache DESTINATION ${SHARE_INSTALL}/icons/${THEME})
+if(WIN32)
+ install(CODE "execute_process(COMMAND gtk-update-icon-cache \${CMAKE_INSTALL_PREFIX}/${INKSCAPE_SHARE_INSTALL}/icons/${THEME})")
endif()