summaryrefslogtreecommitdiffstats
path: root/CMakeScripts
diff options
context:
space:
mode:
authorJohan B. C. Engelen <jbc.engelen@swissonline.ch>2008-04-07 19:26:56 +0000
committerjohanengelen <johanengelen@users.sourceforge.net>2008-04-07 19:26:56 +0000
commite8c50cb023fe674e554fe3fb177bf8fd6472b24c (patch)
treea69152b7d3808ebef26d5d81bfece729b0b6ec70 /CMakeScripts
parentcmake: add pango defines necessary for win32 building, also needed for linux? (diff)
downloadinkscape-e8c50cb023fe674e554fe3fb177bf8fd6472b24c.tar.gz
inkscape-e8c50cb023fe674e554fe3fb177bf8fd6472b24c.zip
cmake: add comment of why to add base binary dir to include path
(bzr r5373)
Diffstat (limited to 'CMakeScripts')
-rw-r--r--CMakeScripts/ConfigInkscapeDepends.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/CMakeScripts/ConfigInkscapeDepends.cmake b/CMakeScripts/ConfigInkscapeDepends.cmake
index 2cae0ec35..01e4c8762 100644
--- a/CMakeScripts/ConfigInkscapeDepends.cmake
+++ b/CMakeScripts/ConfigInkscapeDepends.cmake
@@ -111,5 +111,5 @@ CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.cmake ${CMAKE_CURRENT_BINARY
# Create File inkscape_version.h
FILE(WRITE ${CMAKE_CURRENT_BINARY_DIR}/inkscape_version.h "#define INKSCAPE_VERSION \"${INKSCAPE_VERSION}\"\n")
-
-INCLUDE_DIRECTORIES ("${CMAKE_CURRENT_BINARY_DIR}") \ No newline at end of file
+INCLUDE_DIRECTORIES ("${CMAKE_CURRENT_BINARY_DIR}") # Include base dir, so other files can refer to the generated files.
+# 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