summaryrefslogtreecommitdiffstats
path: root/Source/cmLocalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmLocalUnixMakefileGenerator3.cxx8
1 files changed, 5 insertions, 3 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx
index 13cd316..6ac963a 100644
--- a/Source/cmLocalUnixMakefileGenerator3.cxx
+++ b/Source/cmLocalUnixMakefileGenerator3.cxx
@@ -1266,10 +1266,12 @@ void cmLocalUnixMakefileGenerator3
{
text = "Running external command ...";
}
- const char* dependsOnAll = glIt->second.GetProperty("DependsOnAll");
- if ( dependsOnAll || cmSystemTools::IsOn(dependsOnAll) )
+ std::set<cmStdString>::iterator dit;
+ for ( dit = glIt->second.GetUtilities().begin();
+ dit != glIt->second.GetUtilities().end();
+ ++ dit )
{
- depends.push_back("all");
+ depends.push_back(dit->c_str());
}
this->AppendEcho(commands, text);