summaryrefslogtreecommitdiffstats
path: root/CMakeScripts/ConfigChecks.cmake
diff options
context:
space:
mode:
authorJoshua L. Blocher <verbalshadow@gmail.com>2008-06-14 23:31:50 +0000
committerverbalshadow <verbalshadow@users.sourceforge.net>2008-06-14 23:31:50 +0000
commit8a67b4e32a65f370024a8cdab973e6d3c37168ce (patch)
tree933140d9271c512b0e8f100ffe57ceabe1a8d3ab /CMakeScripts/ConfigChecks.cmake
parentImprove "can't find" error msg for pkgconfig (diff)
downloadinkscape-8a67b4e32a65f370024a8cdab973e6d3c37168ce.tar.gz
inkscape-8a67b4e32a65f370024a8cdab973e6d3c37168ce.zip
Cmake: fix config.h not being found
(bzr r5944)
Diffstat (limited to 'CMakeScripts/ConfigChecks.cmake')
-rw-r--r--CMakeScripts/ConfigChecks.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeScripts/ConfigChecks.cmake b/CMakeScripts/ConfigChecks.cmake
index 184239cd8..026fa5d01 100644
--- a/CMakeScripts/ConfigChecks.cmake
+++ b/CMakeScripts/ConfigChecks.cmake
@@ -68,3 +68,4 @@ ENDIF(HAVE_CAIRO_PDF)
# Create them in the binary root dir
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/config.h)
FILE(WRITE ${CMAKE_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n")
+add_definitions(-DHAVE_CONFIG_H)