diff options
| author | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-01-27 00:07:02 +0000 |
|---|---|---|
| committer | Marc Jeanmougin <marc@jeanmougin.fr> | 2018-01-27 00:07:02 +0000 |
| commit | 0911ed8a44c9a3dc03522d445f302c9da48c2633 (patch) | |
| tree | 9c8fb69c0d09213ec7ee21e5ceb7bb631efcb3a4 | |
| parent | OCAL dialog: make requests non-blocking on windows (diff) | |
| download | inkscape-0911ed8a44c9a3dc03522d445f302c9da48c2633.tar.gz inkscape-0911ed8a44c9a3dc03522d445f302c9da48c2633.zip | |
Temporarily guard icon cache
| -rw-r--r-- | share/icons/hicolor/CMakeLists.txt | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/share/icons/hicolor/CMakeLists.txt b/share/icons/hicolor/CMakeLists.txt index 8425d8b34..15bbe47b1 100644 --- a/share/icons/hicolor/CMakeLists.txt +++ b/share/icons/hicolor/CMakeLists.txt @@ -10,5 +10,7 @@ foreach(pixmap_size ${PIXMAP_SIZES}) endforeach(content) endforeach(pixmap_size) -install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_CURRENT_SOURCE_DIR})") -install(FILES icon-theme.cache DESTINATION ${SHARE_INSTALL}/icons/${THEME}) +if(WIN32) + 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}) +endif() |
