diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2018-01-28 14:11:47 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2018-01-28 14:17:04 +0000 |
| commit | 842e44d5502627516e91f3c07a5bce3ebe6a2f2b (patch) | |
| tree | 803a9000be070f48a1fc467da572219ba4088a27 /CMakeScripts/InstallMSYS2.cmake | |
| parent | Do not build icon cache for now (diff) | |
| download | inkscape-842e44d5502627516e91f3c07a5bce3ebe6a2f2b.tar.gz inkscape-842e44d5502627516e91f3c07a5bce3ebe6a2f2b.zip | |
Fix creation of icon-theme.cache
Escaping "${CMAKE_INSTALL_PREFIX}" with a backslash allows this to
work for the normal install target as well as with cpack (expansion
of the variable is delayed until installation where it has the
correct value).
Also make sure Adwaita's icon-theme.cache is up-to-date
Diffstat (limited to 'CMakeScripts/InstallMSYS2.cmake')
| -rw-r--r-- | CMakeScripts/InstallMSYS2.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeScripts/InstallMSYS2.cmake b/CMakeScripts/InstallMSYS2.cmake index 6f66d5e26..395c98a2f 100644 --- a/CMakeScripts/InstallMSYS2.cmake +++ b/CMakeScripts/InstallMSYS2.cmake @@ -134,6 +134,7 @@ if(WIN32) install(DIRECTORY ${MINGW_PATH}/share/icons/Adwaita
DESTINATION share/icons)
+ install(CODE "execute_process(COMMAND gtk-update-icon-cache \${CMAKE_INSTALL_PREFIX}/share/icons/Adwaita)")
# translations for libraries (we usually shouldn't need many)
file(GLOB inkscape_translations RELATIVE ${CMAKE_SOURCE_DIR}/po/ ${CMAKE_SOURCE_DIR}/po/*.po)
|
