summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorExpressionParser.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2012-10-03 22:33:21 (GMT)
committerBrad King <brad.king@kitware.com>2012-10-09 12:26:32 (GMT)
commit4801eb633392eff95586709df570dabcdf0f5db1 (patch)
treec931e5647236c2f7b5e5e9b775ceb1b237ea2255 /Source/cmGeneratorExpressionParser.cxx
parent47e50423bfbbb277e60b578d1a7174f1fc24b01c (diff)
downloadCMake-4801eb633392eff95586709df570dabcdf0f5db1.zip
CMake-4801eb633392eff95586709df570dabcdf0f5db1.tar.gz
CMake-4801eb633392eff95586709df570dabcdf0f5db1.tar.bz2
GenEx: It is not an error to specify an empty parameter
This is allowed by the CONFIG and STREQUAL expressions.
Diffstat (limited to 'Source/cmGeneratorExpressionParser.cxx')
-rw-r--r--Source/cmGeneratorExpressionParser.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmGeneratorExpressionParser.cxx b/Source/cmGeneratorExpressionParser.cxx
index d3c4aa3..344e9f8 100644
--- a/Source/cmGeneratorExpressionParser.cxx
+++ b/Source/cmGeneratorExpressionParser.cxx
@@ -142,10 +142,6 @@ void cmGeneratorExpressionParser::ParseGeneratorExpression(
--this->NestingLevel;
++this->it;
}
- if (parameters.empty())
- {
- // ERROR
- }
}
if (nestedLevel != this->NestingLevel)