summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index a7e908d..a3dcd62 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.cxx
+++ b/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;