summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-04 19:24:49 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-04 19:24:49 (GMT)
commit5b0611d70955696f853f197cd0cc2057eb063ed6 (patch)
treefcc795aed9589b45271de3bc1b22c39a0e0e23ce /Source/cmGlobalNMakeMakefileGenerator.cxx
parent49aebe6c99934dec634a3b497128465645db406c (diff)
downloadCMake-5b0611d70955696f853f197cd0cc2057eb063ed6.zip
CMake-5b0611d70955696f853f197cd0cc2057eb063ed6.tar.gz
CMake-5b0611d70955696f853f197cd0cc2057eb063ed6.tar.bz2
updates
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx
index 3f75f43..5aa7314 100644
--- a/Source/cmGlobalNMakeMakefileGenerator.cxx
+++ b/Source/cmGlobalNMakeMakefileGenerator.cxx
@@ -41,5 +41,7 @@ void cmGlobalNMakeMakefileGenerator::EnableLanguage(const char* lang,
///! Create a local generator appropriate to this Global Generator
cmLocalGenerator *cmGlobalNMakeMakefileGenerator::CreateLocalGenerator()
{
- return new cmLocalNMakeMakefileGenerator;
+ cmLocalGenerator *lg = new cmLocalNMakeMakefileGenerator;
+ lg->SetGlobalGenerator(this);
+ return lg;
}