diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-01-18 15:10:20 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2013-01-18 15:10:37 (GMT) |
commit | d9afacced34b2ef17a6c3ca2f66975272cf8473f (patch) | |
tree | 6726ca7d74a541081bec949b64567488f9516553 | |
parent | 1800f702a056b2eb25eb35daf9ed8d6474ecd0f9 (diff) | |
download | CMake-d9afacced34b2ef17a6c3ca2f66975272cf8473f.zip CMake-d9afacced34b2ef17a6c3ca2f66975272cf8473f.tar.gz CMake-d9afacced34b2ef17a6c3ca2f66975272cf8473f.tar.bz2 |
Exit early if we find an inconsistent property.
Further messages about inconsistency are distracting.
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 3 insertions, 0 deletions
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 { |