summaryrefslogtreecommitdiffstats
path: root/share
diff options
context:
space:
mode:
authorMarc Jeanmougin <marc@jeanmougin.fr>2018-01-24 22:24:39 +0000
committerMarc Jeanmougin <marc@jeanmougin.fr>2018-01-24 22:24:39 +0000
commitd1e69ac7c06e4f72f8d98cf15842ec090397f0e0 (patch)
treeea4a0b4f2233d8c3c03baaa4e4f1397560739b90 /share
parentMerge gitlab.com:inkscape/inkscape (diff)
downloadinkscape-d1e69ac7c06e4f72f8d98cf15842ec090397f0e0.tar.gz
inkscape-d1e69ac7c06e4f72f8d98cf15842ec090397f0e0.zip
Tentatively fix build for lp packaging
Diffstat (limited to 'share')
-rw-r--r--share/icons/application/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/share/icons/application/CMakeLists.txt b/share/icons/application/CMakeLists.txt
index 6322ba87b..01f950474 100644
--- a/share/icons/application/CMakeLists.txt
+++ b/share/icons/application/CMakeLists.txt
@@ -6,5 +6,5 @@ foreach(pixmap_size ${PIXMAP_SIZES})
endforeach(pixmap_size)
# I hope that this is actually run after installing the files.
-install(CODE "execute_process(COMMAND gtk-update-icon-cache -f -t ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/icons/${THEME})")
-install(FILES ${CMAKE_INSTALL_PREFIX}/${SHARE_INSTALL}/icons/${THEME}/icon-theme.cache DESTINATION ${SHARE_INSTALL}/icons/${THEME})
+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})