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());
|
(cmSystemTools::GetCurrentWorkingDirectory().c_str());
|
||||||
this->SetStartOutputDirectory
|
this->SetStartOutputDirectory
|
||||||
(cmSystemTools::GetCurrentWorkingDirectory().c_str());
|
(cmSystemTools::GetCurrentWorkingDirectory().c_str());
|
||||||
if (args.size() == 2)
|
if (args.size() == 2 && args[1].find("-G") != 0)
|
||||||
{
|
{
|
||||||
this->SetHomeDirectory
|
this->SetHomeDirectory
|
||||||
(cmSystemTools::CollapseFullPath(args[1].c_str()).c_str());
|
(cmSystemTools::CollapseFullPath(args[1].c_str()).c_str());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user