summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigPaths.cmake
diff options
context:
space:
mode:
authorJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
committerJabiertxof <jtx@jtx>2017-01-24 14:16:06 +0000
commitb25ebda10578c5d697db9716e3c2b70950d33e45 (patch)
tree4635b8b3f65600cfd54b5465b906ae42165b0674 /CMakeScripts/ConfigPaths.cmake
parentFix some bugs (diff)
parentfix nodes reverting back during editing (diff)
downloadinkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.tar.gz
inkscape-b25ebda10578c5d697db9716e3c2b70950d33e45.zip
fixing to new trunk
(bzr r15142.1.38)
Diffstat (limited to 'CMakeScripts/ConfigPaths.cmake')
-rw-r--r--CMakeScripts/ConfigPaths.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigPaths.cmake b/CMakeScripts/ConfigPaths.cmake
index 9489ba047..fae8ceea6 100644
--- a/CMakeScripts/ConfigPaths.cmake
+++ b/CMakeScripts/ConfigPaths.cmake
@@ -9,6 +9,7 @@ if(WIN32)
set(PACKAGE_LOCALE_DIR "\\\\share\\\\locale")
set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
+ set(INKSCAPE_SHARE_INSTALL "${SHARE_INSTALL}") # share/inkscape goes directly into /share on Windows
mark_as_advanced(SHARE_INSTALL)
else()
@@ -23,6 +24,7 @@ else()
if(NOT SHARE_INSTALL)
set(SHARE_INSTALL "share" CACHE STRING "Data file install path. Must be a relative path (from CMAKE_INSTALL_PREFIX), with no trailing slash.")
endif(NOT SHARE_INSTALL)
+ set(INKSCAPE_SHARE_INSTALL "${SHARE_INSTALL}/inkscape")
mark_as_advanced(SHARE_INSTALL)
endif() \ No newline at end of file