diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-10-10 16:41:51 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2015-10-15 20:40:56 (GMT) |
commit | c4ae157865291d73113f81d4c9a9c2dd86598efc (patch) | |
tree | 8163dbedec892a7ea48b3548a9b17a954705e10c /Source/cmExportTryCompileFileGenerator.cxx | |
parent | 6d27a3dbfbfb8852d8b8ff5c6fc7432eebc604e5 (diff) | |
download | CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.zip CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.gz CMake-c4ae157865291d73113f81d4c9a9c2dd86598efc.tar.bz2 |
Genex: Port some access API to cmGeneratorTarget.
Diffstat (limited to 'Source/cmExportTryCompileFileGenerator.cxx')
-rw-r--r-- | Source/cmExportTryCompileFileGenerator.cxx | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/Source/cmExportTryCompileFileGenerator.cxx b/Source/cmExportTryCompileFileGenerator.cxx index f8dbe31..fe5717a 100644 --- a/Source/cmExportTryCompileFileGenerator.cxx +++ b/Source/cmExportTryCompileFileGenerator.cxx @@ -84,13 +84,14 @@ std::string cmExportTryCompileFileGenerator::FindTargets( false, &gDummyHead, gtgt, &dagChecker); - const std::set<cmTarget const*> &allTargets = cge->GetAllTargetsSeen(); - for(std::set<cmTarget const*>::const_iterator li = allTargets.begin(); - li != allTargets.end(); ++li) + const std::set<cmGeneratorTarget const*> &allTargets = + cge->GetAllTargetsSeen(); + for(std::set<cmGeneratorTarget const*>::const_iterator li = + allTargets.begin(); li != allTargets.end(); ++li) { - if(emitted.insert(*li).second) + if(emitted.insert((*li)->Target).second) { - this->Exports.push_back(*li); + this->Exports.push_back((*li)->Target); } } return result; |