summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-05-18 10:15:11 -0400
committerBrad King <brad.king@kitware.com>2017-05-18 10:18:50 -0400
commit70c6557285793d9944f4177d3bee3f1570ace308 (patch)
tree60ad42061f9680ee561257ba030cb9443026e0f7 /Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt
parent3f25f873f8f0cd4c9c8d5dce29535c6b2757eaea (diff)
downloadcmake-70c6557285793d9944f4177d3bee3f1570ace308.tar.gz
Tests: Fix RunCMake.CMP0022 tll case for Debug configuration
The `CMP0022-WARN-tll` case overrides legacy properties set by `target_link_libraries` so that we can verify that the policy warning is emitted. When building in the Debug configuration, the `_DEBUG` variant of the legacy property is set/checked too. Fix the test case to override both variants. Previously it only passed because `cmComputeTargetDepends::AddInterfaceDepends` always evaluated dependencies with the "" configuration.
Diffstat (limited to 'Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt b/Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt
index f6722853a5..5d39214f4e 100644
--- a/Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt
+++ b/Tests/RunCMake/CMP0022/CMP0022-WARN-tll-stderr.txt
@@ -4,13 +4,13 @@ CMake Warning \(dev\) in CMakeLists.txt:
cmake_policy command to set the policy and suppress this warning.
Target "bar" has an INTERFACE_LINK_LIBRARIES property which differs from
- its LINK_INTERFACE_LIBRARIES properties.
+ its LINK_INTERFACE_LIBRARIES(_DEBUG)? properties.
INTERFACE_LINK_LIBRARIES:
foo
- LINK_INTERFACE_LIBRARIES:
+ LINK_INTERFACE_LIBRARIES(_DEBUG)?:
bat