mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-07 22:59:56 -05:00
ENH: Use the new signature
This commit is contained in:
@@ -50,8 +50,7 @@ bool cmBuildNameCommand::InitialPass(std::vector<std::string> const& args)
|
||||
if(m_Makefile->GetDefinition("UNIX"))
|
||||
{
|
||||
buildname = "";
|
||||
cmSystemTools::RunCommand("uname -a",
|
||||
buildname);
|
||||
cmSystemTools::RunSingleCommand("uname -a", &buildname);
|
||||
if(buildname.length())
|
||||
{
|
||||
std::string RegExp = "([^ ]*) [^ ]* ([^ ]*) ";
|
||||
|
||||
Reference in New Issue
Block a user