summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a59d129)
raw | patch | inline | side by side (parent: a59d129)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 7 Apr 2008 19:51:56 +0000 (19:51 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Mon, 7 Apr 2008 19:51:56 +0000 (19:51 +0000) |
CMakeScripts/ConfigInkscapeDepends.cmake | patch | blob | history |
index e573b914b8ab212982b341093a0c816ac0dd18f3..36a6d66a0e8eec63e251d172ebddb45fb146ddb5 100644 (file)
SET(PANGO_ENABLE_ENGINE TRUE)\r
SET(RENDER_WITH_PANGO_CAIRO TRUE)\r
\r
-CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)\r
-\r
-# Create File inkscape_version.h\r
-FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n")\r
-INCLUDE_DIRECTORIES ("${CMAKE_CURRENT_BINARY_DIR}") # Include base dir, so other files can refer to the generated files.\r
+# Create the two configuration files: config.h and inkscape_version.h\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")\r
+INCLUDE_DIRECTORIES ("${CMAKE_BINARY_DIR}") # Include base dir, so other files can refer to the generated files.\r
# CMAKE_INCLUDE_CURRENT_DIR is not enough as it only includes the current dir and not the basedir with config.h in it
\ No newline at end of file