From bb0eab009d3369d1855c5ca5fa138acf7bf53415 Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Sun, 15 Mar 2009 23:04:58 +0100 Subject: [PATCH] Fix imports copying for out-of-source build. --- runtime/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/runtime/CMakeLists.txt b/runtime/CMakeLists.txt index cfbfe4e3..114ad007 100644 --- a/runtime/CMakeLists.txt +++ b/runtime/CMakeLists.txt @@ -30,9 +30,9 @@ set(RUNTIME_DIR ${PROJECT_BINARY_DIR}/../${RUNTIME} CACHE PATH "runtime source d if(D_VERSION EQUAL 1) # copy imports to runtime dir set(LDC_IMPORTS) - macro(imports_file SRC) - get_filename_component(DEST ${SRC} NAME) - set(SRC ${PROJECT_SOURCE_DIR}/${SRC}) + macro(imports_file SRCARG) + get_filename_component(DEST ${SRCARG} NAME) + set(SRC ${PROJECT_SOURCE_DIR}/${SRCARG}) set(DEST ${RUNTIME_DIR}/ldc/${DEST}) list(APPEND LDC_IMPORTS ${DEST})