index 184239cd8a3b337f32676b1b59c694a8cbf6ad29..749c3c534bd2b9ea48e3cf0640f3dc3b0337a331 100644 (file)
#---------------\r
# From here on:\r
# Set all HAVE_XXX variables, to correctly set all defines in config.h\r
-\r
+SET(CMAKE_REQUIRED_INCLUDES ${INK_INCLUDES})\r
INCLUDE (CheckIncludeFiles)\r
INCLUDE (CheckFunctionExists)\r
INCLUDE (CheckStructMember)\r
# Create them in the binary root dir\r
CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/config.h.cmake ${CMAKE_BINARY_DIR}/config.h)\r
FILE(WRITE ${CMAKE_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n")
+add_definitions(-DHAVE_CONFIG_H)