diff options
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r-- | Source/cmake.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 87065d0..0b3e7cb 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -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()); |