diff options
| author | Eduard Braun <eduard.braun2@gmx.de> | 2017-04-29 21:45:55 +0000 |
|---|---|---|
| committer | Eduard Braun <eduard.braun2@gmx.de> | 2017-04-29 21:45:55 +0000 |
| commit | a42c31431619e71e4da2166fdb28ac49f5ffc365 (patch) | |
| tree | 4ccbd7df776c9bdda74142e25b661bebc7baabe1 /CMakeScripts/Install.cmake | |
| parent | cmake/MSYS2: Only install a fixed list of Python extensions (instead of all e... (diff) | |
| download | inkscape-a42c31431619e71e4da2166fdb28ac49f5ffc365.tar.gz inkscape-a42c31431619e71e4da2166fdb28ac49f5ffc365.zip | |
cmake: Do not build/install folders (data,modules,plugins)
They're empty, are only created on Windows and seem to be completely unused
(bzr r15651)
Diffstat (limited to 'CMakeScripts/Install.cmake')
| -rw-r--r-- | CMakeScripts/Install.cmake | 20 |
1 files changed, 3 insertions, 17 deletions
diff --git a/CMakeScripts/Install.cmake b/CMakeScripts/Install.cmake index 9250f3d00..f1fda7bcc 100644 --- a/CMakeScripts/Install.cmake +++ b/CMakeScripts/Install.cmake @@ -34,6 +34,9 @@ if(WIN32) LGPL2.1.txt
DESTINATION ${CMAKE_INSTALL_PREFIX})
+ install(DIRECTORY doc
+ DESTINATION ${CMAKE_INSTALL_PREFIX})
+
# devlibs and mingw dlls
# There are differences in the devlibs for 64-Bit and 32-Bit build environments.
@@ -178,23 +181,6 @@ if(WIN32) DESTINATION ${CMAKE_INSTALL_PREFIX})
endif()
- # Setup application data directories, poppler files, locales, icons and themes
- file(MAKE_DIRECTORY
- data
- doc
- modules
- plugins)
-
- install(DIRECTORY
- data
- doc
- modules
- plugins
- DESTINATION ${CMAKE_INSTALL_PREFIX}
- PATTERN hicolor/index.theme EXCLUDE # NOTE: Empty index.theme in hicolor icon theme causes SIGSEGV.
- 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=")
|
