summaryrefslogtreecommitdiffstats
path: root/Source/cmTryRunCommand.cxx
diff options
context:
space:
mode:
authorJohan Björk <phb@spotify.com>2011-07-26 07:26:18 (GMT)
committerBrad King <brad.king@kitware.com>2011-07-28 14:42:03 (GMT)
commit856a9e499f299a33cb4f763bf36a75524a03e4f5 (patch)
tree794e18a7cef0ec581600e271ffd0a7a842d4a6a2 /Source/cmTryRunCommand.cxx
parent4096066723ec7dd6f450e1c8da13616c0ca2f124 (diff)
downloadCMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.zip
CMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.tar.gz
CMake-856a9e499f299a33cb4f763bf36a75524a03e4f5.tar.bz2
RunSingleCommand: Replace verbose boolean with enum
No behaviour change, this prepares for adding a flag to skip the merging of output streams.
Diffstat (limited to 'Source/cmTryRunCommand.cxx')
-rw-r--r--Source/cmTryRunCommand.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 4d31a14..c9c4ed5 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -194,7 +194,7 @@ void cmTryRunCommand::RunExecutable(const std::string& runArgs,
int timeout = 0;
bool worked = cmSystemTools::RunSingleCommand(finalCommand.c_str(),
out, &retVal,
- 0, false, timeout);
+ 0, cmSystemTools::OUTPUT_NONE, timeout);
// set the run var
char retChar[1000];
if (worked)