BUG: fix command line to take -G only
This commit is contained in:
parent
15e38175a4
commit
c7b5bb6d2c
|
@ -236,7 +236,7 @@ void cmake::SetArgs(const std::vector<std::string>& args)
|
|||
(cmSystemTools::GetCurrentWorkingDirectory().c_str());
|
||||
this->SetStartOutputDirectory
|
||||
(cmSystemTools::GetCurrentWorkingDirectory().c_str());
|
||||
if (args.size() == 2)
|
||||
if (args.size() == 2 && args[1].find("-G") != 0)
|
||||
{
|
||||
this->SetHomeDirectory
|
||||
(cmSystemTools::CollapseFullPath(args[1].c_str()).c_str());
|
||||
|
|
Loading…
Reference in New Issue