diff options
author | Stephen Kelly <steveire@gmail.com> | 2015-07-28 16:31:23 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-07-29 14:43:33 (GMT) |
commit | 610572b7d27e122ebf8e5c5d430019844567a996 (patch) | |
tree | bdf72b027421b13749a3fe0df26abacf6886b3b1 /Source/cmMakefile.cxx | |
parent | 2e94cba3565105aaa23720d9ffdcb9fe1ccee6b9 (diff) | |
download | CMake-610572b7d27e122ebf8e5c5d430019844567a996.zip CMake-610572b7d27e122ebf8e5c5d430019844567a996.tar.gz CMake-610572b7d27e122ebf8e5c5d430019844567a996.tar.bz2 |
cmMakefile: Simplify generate-time cmGeneratorTarget creation.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r-- | Source/cmMakefile.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 20c56ba..4bdc9d5 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -1909,6 +1909,7 @@ const char* cmMakefile::GetCurrentBinaryDirectory() const void cmMakefile::AddGeneratorTarget(cmTarget* t, cmGeneratorTarget* gt) { this->GeneratorTargets[t] = gt; + this->GetGlobalGenerator()->AddGeneratorTarget(t, gt); } //---------------------------------------------------------------------------- |