From: johanengelen Date: Mon, 7 Apr 2008 19:26:56 +0000 (+0000) Subject: cmake: add comment of why to add base binary dir to include path X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=10d81f53d909791df809c156ba0039e95579e0de;p=inkscape.git cmake: add comment of why to add base binary dir to include path --- 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