diff options
author | Stephen Kelly <steveire@gmail.com> | 2012-10-03 22:33:21 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2012-10-09 12:26:32 (GMT) |
commit | 4801eb633392eff95586709df570dabcdf0f5db1 (patch) | |
tree | c931e5647236c2f7b5e5e9b775ceb1b237ea2255 | |
parent | 47e50423bfbbb277e60b578d1a7174f1fc24b01c (diff) | |
download | CMake-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.
-rw-r--r-- | Source/cmGeneratorExpressionParser.cxx | 4 |
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) |