summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 6ded3cd)
raw | patch | inline | side by side (parent: 6ded3cd)
author | verbalshadow <verbalshadow@users.sourceforge.net> | |
Mon, 31 Mar 2008 22:50:24 +0000 (22:50 +0000) | ||
committer | verbalshadow <verbalshadow@users.sourceforge.net> | |
Mon, 31 Mar 2008 22:50:24 +0000 (22:50 +0000) |
CMakeScripts/ConfigInkscapeDepends.cmake | patch | blob | history | |
config.h.cmake | patch | blob | history |
index 607ce760192284b9c3e2123af2033821f05c8926..50527749dabf885126471eda55e2fbfea1d68a64 100644 (file)
CHECK_INCLUDE_FILES (zlib.h HAVE_ZLIB_H)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
+
+# Create File inkscape_version.h
+FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n")
diff --git a/config.h.cmake b/config.h.cmake
index 6f83fd21f7a65356c446de13c500085f9607fcca..fe4666ec2f9d9682e26463d70ffe58a4db810284 100644 (file)
--- a/config.h.cmake
+++ b/config.h.cmake
#ifndef _CONFIG_H_
#define _CONFIG_H_
+//#define INKSCAPE_VERSION "${INKSCAPE_VERSION}"
+
/* Define WIN32 when on windows */
#ifndef WIN32
#cmakedefine WIN32