summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-16 03:20:36 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-16 03:20:36 (GMT)
commitcf7f03e5229aa011e176589fbc71cf4fb259f897 (patch)
tree60147990e368609aa9e76ff088adc64fb2cb3626 /Source/cmGlobalNMakeMakefileGenerator.cxx
parente9b134b95ddc832979b2cf78aff68643139e5006 (diff)
downloadCMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.zip
CMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.tar.gz
CMake-cf7f03e5229aa011e176589fbc71cf4fb259f897.tar.bz2
cmGlobalUnixMakefileGenerator3: Host the DefineWindowsNULL.
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx
index 98d7fb4..c059ba0 100644
--- a/Source/cmGlobalNMakeMakefileGenerator.cxx
+++ b/Source/cmGlobalNMakeMakefileGenerator.cxx
@@ -21,6 +21,7 @@ cmGlobalNMakeMakefileGenerator::cmGlobalNMakeMakefileGenerator()
this->UseLinkScript = false;
this->WindowsShell = true;
this->NMake = true;
+ this->DefineWindowsNULL = true;
}
void cmGlobalNMakeMakefileGenerator
@@ -52,7 +53,6 @@ cmGlobalNMakeMakefileGenerator::CreateLocalGenerator(cmLocalGenerator* parent)
{
cmLocalUnixMakefileGenerator3* lg =
new cmLocalUnixMakefileGenerator3(this, parent);
- lg->SetDefineWindowsNULL(true);
lg->SetMakeSilentFlag("/nologo");
lg->SetIgnoreLibPrefix(true);
lg->SetPassMakeflags(true);