diff options
author | Brad King <brad.king@kitware.com> | 2015-04-21 12:45:01 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-04-21 12:45:01 (GMT) |
commit | b2289ff6542b79772e874c6dba157f72bb17c8be (patch) | |
tree | 254f0953416e98d737982f004462463cb58f952d /Source/cmBuildNameCommand.cxx | |
parent | 50eefbb7e3887ea66f82cbb961fdf7eb69868147 (diff) | |
parent | 356c26ebdfa053f59b2932c78ae81cba3c872dc3 (diff) | |
download | CMake-b2289ff6542b79772e874c6dba157f72bb17c8be.zip CMake-b2289ff6542b79772e874c6dba157f72bb17c8be.tar.gz CMake-b2289ff6542b79772e874c6dba157f72bb17c8be.tar.bz2 |
Merge topic 'cmSystemTools-RunSingleCommand-stderr'
356c26eb cmSystemTools: Teach RunSingleCommand to separate stdout and stderr
Diffstat (limited to 'Source/cmBuildNameCommand.cxx')
-rw-r--r-- | Source/cmBuildNameCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmBuildNameCommand.cxx b/Source/cmBuildNameCommand.cxx index 2a06574..2733d76 100644 --- a/Source/cmBuildNameCommand.cxx +++ b/Source/cmBuildNameCommand.cxx @@ -49,7 +49,7 @@ bool cmBuildNameCommand if(this->Makefile->GetDefinition("UNIX")) { buildname = ""; - cmSystemTools::RunSingleCommand("uname -a", &buildname); + cmSystemTools::RunSingleCommand("uname -a", &buildname, &buildname); if(!buildname.empty()) { std::string RegExp = "([^ ]*) [^ ]* ([^ ]*) "; |