mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-24 07:08:38 -05:00
Improve signature of cmLocalGenerator::GetRealDependency
Allow file-level custom command dependencies to be skipped.
This commit is contained in:
@@ -902,9 +902,12 @@ cmLocalUnixMakefileGenerator3
|
||||
d != cc.GetDepends().end(); ++d)
|
||||
{
|
||||
// Lookup the real name of the dependency in case it is a CMake target.
|
||||
std::string dep = this->GetRealDependency
|
||||
(d->c_str(), this->ConfigurationName.c_str());
|
||||
depends.push_back(dep);
|
||||
std::string dep;
|
||||
if(this->GetRealDependency(d->c_str(), this->ConfigurationName.c_str(),
|
||||
dep))
|
||||
{
|
||||
depends.push_back(dep);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user