summaryrefslogtreecommitdiffstats
path: root/Modules/GetPrerequisites.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2008-05-01 22:49:31 (GMT)
committerBrad King <brad.king@kitware.com>2008-05-01 22:49:31 (GMT)
commit80d045b01e8643af4a15dd0f5539d10ce50c58f1 (patch)
tree5de3384b516c5f7923dbe25fa998c107e84c69cc /Modules/GetPrerequisites.cmake
parentc70512fbefc46b8619a11ca03cbd71e0a42cafdc (diff)
downloadCMake-80d045b01e8643af4a15dd0f5539d10ce50c58f1.zip
CMake-80d045b01e8643af4a15dd0f5539d10ce50c58f1.tar.gz
CMake-80d045b01e8643af4a15dd0f5539d10ce50c58f1.tar.bz2
ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output.
Diffstat (limited to 'Modules/GetPrerequisites.cmake')
-rw-r--r--Modules/GetPrerequisites.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/GetPrerequisites.cmake b/Modules/GetPrerequisites.cmake
index 364943d..8c29d4b 100644
--- a/Modules/GetPrerequisites.cmake
+++ b/Modules/GetPrerequisites.cmake
@@ -251,6 +251,7 @@ function(get_prerequisites target prerequisites_var exclude_system recurse)
set(gp_regex "^ ([^ ].*[Dd][Ll][Ll])${eol_char}$")
set(gp_regex_cmp_count 1)
set(gp_tool_known 1)
+ set(ENV{VS_UNICODE_OUTPUT} "") # Block extra output from inside VS IDE.
endif("${gp_tool}" STREQUAL "dumpbin")
if(NOT gp_tool_known)