diff options
Diffstat (limited to 'Source/cmExportLibraryDependencies.cxx')
-rw-r--r-- | Source/cmExportLibraryDependencies.cxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Source/cmExportLibraryDependencies.cxx b/Source/cmExportLibraryDependencies.cxx index c7ae3e9..ac9df30 100644 --- a/Source/cmExportLibraryDependencies.cxx +++ b/Source/cmExportLibraryDependencies.cxx @@ -163,7 +163,8 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const "\"${CMAKE_MAJOR_VERSION}.${CMAKE_MINOR_VERSION}\" GREATER 2.4"; fout << "IF(" << vertest << ")\n"; fout << " # Information for CMake 2.6 and above.\n"; - for(std::map<cmStdString, cmStdString>::const_iterator i = libDepsNew.begin(); + for(std::map<cmStdString, cmStdString>::const_iterator + i = libDepsNew.begin(); i != libDepsNew.end(); ++i) { if(!i->second.empty()) @@ -173,7 +174,8 @@ void cmExportLibraryDependenciesCommand::ConstFinalPass() const } fout << "ELSE(" << vertest << ")\n"; fout << " # Information for CMake 2.4 and lower.\n"; - for(std::map<cmStdString, cmStdString>::const_iterator i = libDepsOld.begin(); + for(std::map<cmStdString, cmStdString>::const_iterator + i = libDepsOld.begin(); i != libDepsOld.end(); ++i) { if(!i->second.empty()) |