Browse Source

ENH: fix NONE

Bill Hoffman 20 years ago
parent
commit
52923844f5
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/cmGlobalUnixMakefileGenerator3.cxx

+ 4 - 0
Source/cmGlobalUnixMakefileGenerator3.cxx

@@ -37,6 +37,10 @@ void cmGlobalUnixMakefileGenerator3
   for(std::vector<std::string>::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;