summaryrefslogtreecommitdiffstats
path: root/config.h.cmake
diff options
context:
space:
mode:
authorSebastian Faubel <sebastian@semiodesk.com>2016-07-06 14:04:54 +0000
committerSebastian Faubel <sebastian@semiodesk.com>2016-07-06 14:04:54 +0000
commitf381a48f549f2a3c4d7ec48a1458e7555306766b (patch)
tree696505caf1b911585f56bc8397ec6b91f918ed89 /config.h.cmake
parentAdded missing files. (diff)
downloadinkscape-f381a48f549f2a3c4d7ec48a1458e7555306766b.tar.gz
inkscape-f381a48f549f2a3c4d7ec48a1458e7555306766b.zip
Fixed config.h defines to point to the right locations for data (icons) and locales.
(bzr r15002.1.5)
Diffstat (limited to 'config.h.cmake')
-rw-r--r--config.h.cmake12
1 files changed, 2 insertions, 10 deletions
diff --git a/config.h.cmake b/config.h.cmake
index b30002622..00d6fb8b3 100644
--- a/config.h.cmake
+++ b/config.h.cmake
@@ -232,18 +232,10 @@
#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
+#define INKSCAPE_DATADIR "${INKSCAPE_DATADIR}"
/* 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 INKSCAPE_LIBDIR "${INKSCAPE_LIBDIR}"
/* Define to 1 if `lstat' dereferences a symlink specified with a trailing
slash. */