diff --git a/Source/cmake.cxx b/Source/cmake.cxx index a1a7bfc4b..451dbc78b 100644 --- a/Source/cmake.cxx +++ b/Source/cmake.cxx @@ -1469,6 +1469,10 @@ int cmake::Run(const std::vector& args, bool noconfigure) return -1; } } + else + { + this->AddCMakePaths(m_CMakeCommand.c_str()); + } // Add any cache args if ( !this->SetCacheArgs(args) )