changeset 1122:c614ef596a20

Fix imports copying for out-of-source build.
author Christian Kamm <kamm incasoftware de>
date Sun, 15 Mar 2009 23:04:58 +0100
parents 3d46f7ee466e
children 165a920f4e88
files runtime/CMakeLists.txt
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/CMakeLists.txt	Sun Mar 15 16:57:44 2009 +0100
+++ b/runtime/CMakeLists.txt	Sun Mar 15 23:04:58 2009 +0100
@@ -30,9 +30,9 @@
 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})