summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2013-02-06 23:47:31 (GMT)
committerStephen Kelly <steveire@gmail.com>2013-02-07 15:21:09 (GMT)
commit655e98bf7149eb3757a0587409076326edeb9c04 (patch)
tree71053ab3498e53f16c5800314326f3408a6586ea /Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
parent46e28960a58a25bbf0124b6ab95eda24cc4fe1a4 (diff)
downloadCMake-655e98bf7149eb3757a0587409076326edeb9c04.zip
CMake-655e98bf7149eb3757a0587409076326edeb9c04.tar.gz
CMake-655e98bf7149eb3757a0587409076326edeb9c04.tar.bz2
Ensure type specific compatible interface properties do not intersect.
Before, the boolean version would always win, and the string one would be ignored.
Diffstat (limited to 'Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt')
-rw-r--r--Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
new file mode 100644
index 0000000..5a8f99d
--- /dev/null
+++ b/Tests/RunCMake/CompatibleInterface/InterfaceString-Bool-Conflict-stderr.txt
@@ -0,0 +1,5 @@
+CMake Error in CMakeLists.txt:
+ Property "SOMETHING" appears in both the COMPATIBLE_INTERFACE_BOOL and the
+ COMPATIBLE_INTERFACE_STRING property in the dependencies of target "user".
+ This is not allowed. A property may only require compatibility in a
+ boolean interpretation or a string interpretation, but not both.