changeset 1071:7d9957c6350e

Fix out of source build by adding the build dir to the include path.
author Christian Kamm <kamm incasoftware de>
date Sun, 08 Mar 2009 17:57:34 +0100
parents 39e2f5e4af3d
children 802d508f66f1
files CMakeLists.txt
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/CMakeLists.txt	Sun Mar 08 17:51:45 2009 +0100
+++ b/CMakeLists.txt	Sun Mar 08 17:57:34 2009 +0100
@@ -114,7 +114,7 @@
 set(DEFAULT_TARGET ${HOST_TARGET} CACHE STRING "default target")
 set(DEFAULT_ALT_TARGET ${HOST_ALT_TARGET} CACHE STRING "default alt target")
 
-include_directories(. ${DMDFE_PATH} ${PROJECT_BINARY_DIR}/${DMDFE_PATH} ${LLVM_INSTDIR}/include)
+include_directories(. ${DMDFE_PATH} ${PROJECT_BINARY_DIR}/${DMDFE_PATH} ${PROJECT_BINARY_DIR} ${LLVM_INSTDIR}/include)
 
 file(GLOB FE_SRC ${DMDFE_PATH}/*.c)
 file(GLOB GEN_SRC gen/*.cpp)