From 8da3e8625057c2dd65bf3fef17523024dffbb56d Mon Sep 17 00:00:00 2001 From: Latif Khalifa Date: Thu, 3 Oct 2013 07:19:14 +0200 Subject: [PATCH] Don't copy files unless we need to extract the debug symbols --- indra/newview/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index 19f85ed23..7722c678a 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1557,7 +1557,6 @@ if (WINDOWS) if (PACKAGE) add_custom_target(package ALL DEPENDS ${CMAKE_CFG_INTDIR}/touched.bat) - add_custom_target(copy_w_viewer_manifest ALL DEPENDS ${CMAKE_CFG_INTDIR}/copy_touched.bat) endif (PACKAGE) endif (WINDOWS) @@ -1784,6 +1783,10 @@ if (INSTALL) endif (INSTALL) if (PACKAGE) + if(RELEASE_CRASH_REPORTING OR NON_RELEASE_CRASH_REPORTING) + add_custom_target(copy_w_viewer_manifest ALL DEPENDS ${CMAKE_CFG_INTDIR}/copy_touched.bat) + endif(RELEASE_CRASH_REPORTING OR NON_RELEASE_CRASH_REPORTING) + set(SYMBOL_SEARCH_DIRS "") if (WINDOWS) list(APPEND SYMBOL_SEARCH_DIRS "${CMAKE_CURRENT_BINARY_DIR}/${CMAKE_CFG_INTDIR}")