summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--indra/CMakeLists.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt
index e09c7110c5..ce359a85b0 100644
--- a/indra/CMakeLists.txt
+++ b/indra/CMakeLists.txt
@@ -37,9 +37,9 @@ endif (EXISTS ${LIBS_CLOSED_DIR}llkdu AND NOT STANDALONE)
add_subdirectory(${LIBS_OPEN_PREFIX}lscript)
-if (WINDOWS)
- add_subdirectory(copy_win_scripts)
-endif (WINDOWS)
+if (WINDOWS AND EXISTS copy_win_scripts)
+ add_subdirectory(copy_win_scripts)
+endif (WINDOWS AND EXISTS copy_win_scripts)
if (VIEWER)
add_subdirectory(${LIBS_OPEN_PREFIX}llcrashlogger)