mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-01 20:00:51 -05:00
ENH: Use the new signature
This commit is contained in:
@@ -66,8 +66,8 @@ bool cmSiteNameCommand::InitialPass(std::vector<std::string> const& args)
|
||||
if (!cmSystemTools::IsOff(hostname_cmd.c_str()))
|
||||
{
|
||||
std::string host;
|
||||
cmSystemTools::RunCommand(hostname_cmd.c_str(),
|
||||
host);
|
||||
cmSystemTools::RunSingleCommand(hostname_cmd.c_str(),
|
||||
&host);
|
||||
|
||||
// got the hostname
|
||||
if (host.length())
|
||||
|
||||
Reference in New Issue
Block a user