summaryrefslogtreecommitdiffstats
path: root/Source/cmSetPropertiesCommand.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSetPropertiesCommand.cxx')
-rw-r--r--Source/cmSetPropertiesCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmSetPropertiesCommand.cxx b/Source/cmSetPropertiesCommand.cxx
index d69dddd..8024c6a 100644
--- a/Source/cmSetPropertiesCommand.cxx
+++ b/Source/cmSetPropertiesCommand.cxx
@@ -110,8 +110,8 @@ bool cmSetPropertiesCommand::InitialPass(
std::string message = "Can not find target to add properties to: ";
message += scopeName;
this->SetError(message.c_str());
+ return ret;
}
- return ret;
}
break;
case cmProperty::DIRECTORY:
@@ -146,8 +146,8 @@ bool cmSetPropertiesCommand::InitialPass(
if (!ret)
{
this->SetError(errors.c_str());
+ return ret;
}
- return ret;
}
break;
case cmProperty::SOURCE_FILE: