summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSebastian Faubel <sebastian@semiodesk.com>2016-07-02 17:15:39 +0000
committerSebastian Faubel <sebastian@semiodesk.com>2016-07-02 17:15:39 +0000
commit495ac0773c4341589f1cd9108c9de3daf5b78c2c (patch)
tree7198d6f9c4cd251ed2ae6598b1d1805c2909193b /config.h.cmake
parentFix bug#168286 also opem regression on bug#1594565 (diff)
downloadinkscape-495ac0773c4341589f1cd9108c9de3daf5b78c2c.tar.gz
inkscape-495ac0773c4341589f1cd9108c9de3daf5b78c2c.zip
Merge with trunk.
(bzr r15002.1.1)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/config.h.cmake b/config.h.cmake
index eae54fd03..b30002622 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -232,10 +232,18 @@
#cmakedefine HAVE_ZLIB_H 1
/* Base data directory -- only path-prefix.h should use it! */
+#ifdef WIN32
+#define INKSCAPE_DATADIR ""
+#else
#define INKSCAPE_DATADIR "${CMAKE_INSTALL_PREFIX}/share"
+#endif
/* Base library directory -- only path-prefix.h should use it! */
+#ifdef WIN32
+#define INKSCAPE_LIBDIR "\\lib"
+#else
#define INKSCAPE_LIBDIR "${CMAKE_INSTALL_PREFIX}/lib"
+#endif
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */