summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-01-22 14:25:30 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-01-22 14:25:30 (GMT)
commitdcf977ea1a97f41fe19a871235dc75e85891e478 (patch)
tree7a4671b22363830990dcc70940af9c715f407b15 /Source
parent666487a402310ea69ac20b1d6dceb20746d16f6a (diff)
parent7dbfdddf33ab2d52e471c8533897bc2d7aeb40c9 (diff)
downloadCMake-dcf977ea1a97f41fe19a871235dc75e85891e478.zip
CMake-dcf977ea1a97f41fe19a871235dc75e85891e478.tar.gz
CMake-dcf977ea1a97f41fe19a871235dc75e85891e478.tar.bz2
Merge topic 'fix-use-generator-target'
7dbfdddf cmExportInstallFileGenerator: Fix crash in FindNamespaces
Diffstat (limited to 'Source')
-rw-r--r--Source/cmExportInstallFileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmExportInstallFileGenerator.cxx b/Source/cmExportInstallFileGenerator.cxx
index b695904..71418e8 100644
--- a/Source/cmExportInstallFileGenerator.cxx
+++ b/Source/cmExportInstallFileGenerator.cxx
@@ -496,7 +496,7 @@ cmExportInstallFileGenerator
bool containsTarget = false;
for(unsigned int i=0; i<targets->size(); i++)
{
- if (name == (*targets)[i]->Target->GetName())
+ if (name == (*targets)[i]->TargetName)
{
containsTarget = true;
break;