summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-10-25 11:56:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-10-27 06:44:24 (GMT)
commit9b244cc0ecff0cde22b71b7097a3d84c018c6044 (patch)
tree11775882a0fc5661344ea05f43505f29b76a6f8c /Source/cmGlobalGenerator.cxx
parentdef6da616b81958c9f1058a4e520ac3cbc534757 (diff)
downloadCMake-9b244cc0ecff0cde22b71b7097a3d84c018c6044.zip
CMake-9b244cc0ecff0cde22b71b7097a3d84c018c6044.tar.gz
CMake-9b244cc0ecff0cde22b71b7097a3d84c018c6044.tar.bz2
cmLocalGenerator: Store imported targets in a separate container.
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index 47d254e..6b5cb97 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -1606,6 +1606,7 @@ void cmGlobalGenerator::CreateGeneratorTargets(TargetTypes targetTypes,
{
cmGeneratorTarget* gt = new cmGeneratorTarget(*j, lg);
this->GeneratorTargets[*j] = gt;
+ lg->AddImportedGeneratorTarget(gt);
}
}