summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-11-12 14:13:23 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-11-12 14:13:50 (GMT)
commit7ac092bd39c9e5905aa612e9f94e5870e7870011 (patch)
tree316f2ea2993660fc0b9e86dfd4ac16632dddeb02
parent08b06680432f658661a26a4cff795f3fd68527ec (diff)
parent8e2eba6b4c7f421029e14051a2d89b231284d055 (diff)
downloadCMake-7ac092bd39c9e5905aa612e9f94e5870e7870011.zip
CMake-7ac092bd39c9e5905aa612e9f94e5870e7870011.tar.gz
CMake-7ac092bd39c9e5905aa612e9f94e5870e7870011.tar.bz2
Merge topic 'suppress-link-messages'
8e2eba6b4c MSVC: Suppress rc/mt/link output unless verbose is requested Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !5492
-rw-r--r--Source/cmcmd.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmcmd.cxx b/Source/cmcmd.cxx
index f094085..a611dd7 100644
--- a/Source/cmcmd.cxx
+++ b/Source/cmcmd.cxx
@@ -2000,7 +2000,7 @@ static bool RunCommand(const char* comment,
<< NumberFormatter(exitFormat, retCode)
<< ") with the following output:\n"
<< output;
- } else {
+ } else if (verbose) {
// always print the output of the command, unless
// it is the dumb rc command banner
if (output.find("Resource Compiler Version") == std::string::npos) {