summaryrefslogtreecommitdiff
path: root/Source/cmGlobalUnixMakefileGenerator3.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-01 17:14:56 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-01 17:14:56 -0400
commit52923844f5b4f77b1d5467f3f218df8d95e84b21 (patch)
treee5d61764b69f4aa45fe18aae691c7064868d7165 /Source/cmGlobalUnixMakefileGenerator3.cxx
parent8a79c86a010be0a92f881a7e0fcaed42f845bb8e (diff)
downloadcmake-52923844f5b4f77b1d5467f3f218df8d95e84b21.tar.gz
ENH: fix NONE
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.cxx')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.cxx b/Source/cmGlobalUnixMakefileGenerator3.cxx
index a7e908d388..a3dcd6268d 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;