Skip to content

Commit

Permalink
Fix out of source build by adding the build dir to the include path.
Browse files Browse the repository at this point in the history
  • Loading branch information
ckamm committed Mar 8, 2009
1 parent f05ee63 commit c5c0a01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Expand Up @@ -114,7 +114,7 @@ set(LDC_GENERATED
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)
Expand Down

0 comments on commit c5c0a01

Please sign in to comment.