ENH: When GetPrerequisites.cmake runs dumpbin while running inside the VS IDE environment make sure the tool does not produce extra output.

This commit is contained in:
Brad King 2008-05-01 18:49:31 -04:00
parent c70512fbef
commit 80d045b01e
1 changed files with 1 additions and 0 deletions

View File

@ -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)