diff options
author | Stephen Kelly <steveire@gmail.com> | 2013-12-26 23:29:52 (GMT) |
---|---|---|
committer | Stephen Kelly <steveire@gmail.com> | 2014-01-04 10:28:57 (GMT) |
commit | 79db8ef78d567e518295abc0ffff3140103203b3 (patch) | |
tree | bd2d88d22871cca720e65e1b7a83cc0d696064c5 /Source/cmTarget.cxx | |
parent | 43340a9c96212559e83d347b9e3ecebf98ed8aac (diff) | |
download | CMake-79db8ef78d567e518295abc0ffff3140103203b3.zip CMake-79db8ef78d567e518295abc0ffff3140103203b3.tar.gz CMake-79db8ef78d567e518295abc0ffff3140103203b3.tar.bz2 |
cmTarget: Fix the property compatibility error message
Don't refer to 'both', but a 'mixture'. List all compatible interface
property types possible.
Add another test for a mixture of three compatibilities.
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 6019496..c890605 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -6005,7 +6005,8 @@ void cmTarget::CheckPropertyCompatibility(cmComputeLinkInformation *info, << propsString << " property in the dependencies of target \"" << this->GetName() << "\". This is not allowed. A property may only require compatibility " - "in a boolean interpretation or a string interpretation, but not both."; + "in a boolean interpretation, a numeric minimum, a numeric maximum or a " + "string interpretation, but not a mixture."; this->Makefile->IssueMessage(cmake::FATAL_ERROR, e.str()); } } |