From d9afacced34b2ef17a6c3ca2f66975272cf8473f Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Fri, 18 Jan 2013 16:10:20 +0100 Subject: Exit early if we find an inconsistent property. Further messages about inconsistency are distracting. --- Source/cmTarget.cxx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 45862fb..7a2ead3 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -4533,6 +4533,7 @@ bool cmTarget::GetLinkInterfaceDependentBoolProperty(const std::string &p, "INTERFACE_" << p << " property requirement\nof " "dependency \"" << li->Target->GetName() << "\".\n"; cmSystemTools::Error(e.str().c_str()); + break; } else { @@ -4559,6 +4560,7 @@ bool cmTarget::GetLinkInterfaceDependentBoolProperty(const std::string &p, "INTERFACE_" << p << " property on\ndependency \"" << li->Target->GetName() << "\" is in conflict.\n"; cmSystemTools::Error(e.str().c_str()); + break; } else { @@ -4586,6 +4588,7 @@ bool cmTarget::GetLinkInterfaceDependentBoolProperty(const std::string &p, "of " << p << " already determined\nfor \"" << this->GetName() << "\".\n"; cmSystemTools::Error(e.str().c_str()); + break; } else { -- cgit v0.12