summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2005-09-01 21:14:56 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2005-09-01 21:14:56 (GMT)
commit52923844f5b4f77b1d5467f3f218df8d95e84b21 (patch)
treee5d61764b69f4aa45fe18aae691c7064868d7165 /Source
parent8a79c86a010be0a92f881a7e0fcaed42f845bb8e (diff)
downloadCMake-52923844f5b4f77b1d5467f3f218df8d95e84b21.zip
CMake-52923844f5b4f77b1d5467f3f218df8d95e84b21.tar.gz
CMake-52923844f5b4f77b1d5467f3f218df8d95e84b21.tar.bz2
ENH: fix NONE
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;