diff options
Diffstat (limited to 'Source/cmLocalUnixMakefileGenerator3.cxx')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index f688549..5fbf5fe 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -2736,8 +2736,12 @@ cmLocalUnixMakefileGenerator3 } // Sort for efficient lookup. - std::set<cmStdString> generatedFiles(generatedFilesVec.begin(), - generatedFilesVec.end()); + std::set<cmStdString> generatedFiles; + for(std::vector<std::string>::iterator gfi = generatedFilesVec.begin(); + gfi != generatedFilesVec.end(); ++gfi) + { + generatedFiles.insert(*gfi); + } // for each language we need to scan, scan it const char *langStr = mf->GetSafeDefinition("CMAKE_DEPENDS_LANGUAGES"); |