summaryrefslogtreecommitdiff
path: root/indra/copy_win_scripts
diff options
context:
space:
mode:
Diffstat (limited to 'indra/copy_win_scripts')
-rw-r--r--indra/copy_win_scripts/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
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(