summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/Install.cmake
diff options
context:
space:
mode:
authorEduard Braun <eduard.braun2@gmx.de>2017-02-20 21:21:18 +0000
committerEduard Braun <eduard.braun2@gmx.de>2017-02-20 21:21:18 +0000
commit3e4fbb2d79bf7e1abb902112f9a54dc427f1a5a0 (patch)
tree57cd6db7d762a9c0b030ce741585422c0cb0013c /CMakeScripts/Install.cmake
parentExtensions: prevent exception when inst.strerror is None (diff)
downloadinkscape-3e4fbb2d79bf7e1abb902112f9a54dc427f1a5a0.tar.gz
inkscape-3e4fbb2d79bf7e1abb902112f9a54dc427f1a5a0.zip
CMake: Generate a dummy file in hicolor/index.theme to avoid bug 1659336 on Windows
Fixed bugs: - https://launchpad.net/bugs/1659336 (bzr r15535)
Diffstat (limited to 'CMakeScripts/Install.cmake')
-rw-r--r--CMakeScripts/Install.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/CMakeScripts/Install.cmake b/CMakeScripts/Install.cmake
index fc82172e7..64ab4607b 100644
--- a/CMakeScripts/Install.cmake
+++ b/CMakeScripts/Install.cmake
@@ -195,6 +195,10 @@ if(WIN32)
PATTERN CMakeLists.txt EXCLUDE
PATTERN *.am EXCLUDE)
+ # Generate a dummy file in hicolor/index.theme to avoid bug 1635207
+ file(GENERATE OUTPUT ${CMAKE_INSTALL_PREFIX}/share/icons/hicolor/index.theme
+ CONTENT "[Icon Theme]\nName=hicolor\nDirectories=")
+
install(DIRECTORY ${DEVLIBS_PATH}/share/icons/Adwaita
DESTINATION ${CMAKE_INSTALL_PREFIX}/share/icons)