From 52923844f5b4f77b1d5467f3f218df8d95e84b21 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Thu, 1 Sep 2005 17:14:56 -0400 Subject: [PATCH] ENH: fix NONE --- Source/cmGlobalUnixMakefileGenerator3.cxx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx index a7e908d38..a3dcd6268 100644 --- a/Source/cmGlobalUnixMakefileGenerator3.cxx +++ b/Source/cmGlobalUnixMakefileGenerator3.cxx @@ -37,6 +37,10 @@ void cmGlobalUnixMakefileGenerator3 for(std::vector::const_iterator l = languages.begin(); l != languages.end(); ++l) { + if(*l == "NONE") + { + continue; + } const char* lang = l->c_str(); std::string langComp = "CMAKE_"; langComp += lang;