summaryrefslogtreecommitdiffstats
path: root/Source/cmExportTryCompileFileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-10 16:41:51 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-15 20:40:56 (GMT)
commitc4ae157865291d73113f81d4c9a9c2dd86598efc (patch)
tree8163dbedec892a7ea48b3548a9b17a954705e10c /Source/cmExportTryCompileFileGenerator.cxx
parent6d27a3dbfbfb8852d8b8ff5c6fc7432eebc604e5 (diff)
downloadCMake-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.cxx11
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;