|
|
@@ -100,7 +100,7 @@ bool cmElseCommand::InitialPass(std::vector<std::string>& args)
|
|
|
cmRegularExpression regEntry(args[2].c_str());
|
|
|
|
|
|
// check for black line or comment
|
|
|
- if (!regEntry.find(def))
|
|
|
+ if (regEntry.find(def))
|
|
|
{
|
|
|
f = new cmIfFunctionBlocker();
|
|
|
}
|