From f84bddc8d06f319a8cc43b9e45d4a988ea52003d Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sat, 7 Nov 2009 10:54:40 +0100 Subject: [PATCH] Hack to make compiling the tango 0.99.8 runtime work. The gc has no module statements and the new frontend fails to find the imports. So I add an explicit include path to the runtime gc directory. --- runtime/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index c9643d11..1df5b752 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -120,7 +120,7 @@ macro(dc INPUT_D OUTLIST_O OUTLIST_BC OUTDIR INCDIR MOREFLAGS) OUTPUT ${OUTPUT_O} ${OUTPUT_BC} - COMMAND ${LDC_LOC} -c -I${INCDIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS} + COMMAND ${LDC_LOC} -c -I${INCDIR} -I${RUNTIME_GC_DIR} -output-bc ${INPUT_D} -of${OUTPUT_O} ${D_FLAGS} ${MOREFLAGS} DEPENDS ${LDC_LOC} ${INPUT_D} ${LDC_IMPORTS}