diff options
author | Brad King <brad.king@kitware.com> | 2015-10-16 13:35:37 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-10-16 13:35:37 (GMT) |
commit | dfd371dc013f14fb8e52c4f16e4a0f03a1ead9ce (patch) | |
tree | 9d0b76947725b4d88fcb6e97b988180685e30747 /Source/cmExportTryCompileFileGenerator.cxx | |
parent | f13521317a43af4ebb2996c9916d1d1da695c5fc (diff) | |
parent | c4ae157865291d73113f81d4c9a9c2dd86598efc (diff) | |
download | CMake-dfd371dc013f14fb8e52c4f16e4a0f03a1ead9ce.zip CMake-dfd371dc013f14fb8e52c4f16e4a0f03a1ead9ce.tar.gz CMake-dfd371dc013f14fb8e52c4f16e4a0f03a1ead9ce.tar.bz2 |
Merge topic 'genex-consumers-generator-targets'
c4ae1578 Genex: Port some access API to cmGeneratorTarget.
6d27a3db Genex: Port implementation 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 70fca2e..d0e65e1 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; |