diff --git a/indra/CMakeLists.txt b/indra/CMakeLists.txt index e09c7110c5e58dc72a6fcb2b46f933ef1c7ece38..ce359a85b07bdebcce60eaafb4647d836152b5c6 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)