From 31565ac441d1c2608ccb9a5c5d71acc34d639781 Mon Sep 17 00:00:00 2001 From: Mark Palange Date: Fri, 13 Jun 2008 16:52:59 +0000 Subject: Fixes the the copy-win-scripts related cmake files to make the copy_win_scripts target function properly. --- indra/copy_win_scripts/CMakeLists.txt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'indra/copy_win_scripts') diff --git a/indra/copy_win_scripts/CMakeLists.txt b/indra/copy_win_scripts/CMakeLists.txt index b1b1006e56..35581e83fe 100644 --- a/indra/copy_win_scripts/CMakeLists.txt +++ b/indra/copy_win_scripts/CMakeLists.txt @@ -20,9 +20,9 @@ set(file-list ) foreach(file ${file-list}) - if(EXISTS ${file}) - set(win_scripts-files ${win_scripts-files} file) - endif(EXISTS ${file}) + if(EXISTS ${win_scripts-src}/${file}) + set(win_scripts-files ${win_scripts-files} ${file}) + endif(EXISTS ${win_scripts-src}/${file}) endforeach(file ${file-list}) copy_if_different( -- cgit v1.2.3