summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmake.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index a1a7bfc..451dbc7 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -1469,6 +1469,10 @@ int cmake::Run(const std::vector<std::string>& args, bool noconfigure)
return -1;
}
}
+ else
+ {
+ this->AddCMakePaths(m_CMakeCommand.c_str());
+ }
// Add any cache args
if ( !this->SetCacheArgs(args) )