diff options
Diffstat (limited to 'Source/cmIfCommand.cxx')
-rw-r--r-- | Source/cmIfCommand.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmIfCommand.cxx b/Source/cmIfCommand.cxx index 37b3045..874c77b 100644 --- a/Source/cmIfCommand.cxx +++ b/Source/cmIfCommand.cxx @@ -170,7 +170,7 @@ bool cmIfCommand::InitialPass(std::vector<std::string> const& args) cmRegularExpression regEntry(args[2].c_str()); // check for black line or comment - if (def && !regEntry.find(def)) + if (!def || !regEntry.find(def)) { f = new cmIfFunctionBlocker(); } |