summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake
diff options
context:
space:
mode:
authorMarc Chevrier <marc.chevrier@gmail.com>2019-12-06 16:01:48 (GMT)
committerBrad King <brad.king@kitware.com>2019-12-09 16:29:36 (GMT)
commitbbba70189913e7add151e1f0eb7a2e7936626a7d (patch)
tree81b7a5b5f3844b3a1379558814c268a7b323915f /Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake
parenta2c0c2d024506725c431111ce1b2b41b307826ad (diff)
downloadCMake-bbba70189913e7add151e1f0eb7a2e7936626a7d.zip
CMake-bbba70189913e7add151e1f0eb7a2e7936626a7d.tar.gz
CMake-bbba70189913e7add151e1f0eb7a2e7936626a7d.tar.bz2
Link properties: must be transitive over private dependency on static library
Fixes: #20022
Diffstat (limited to 'Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake')
-rw-r--r--Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake b/Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake
new file mode 100644
index 0000000..16573a7
--- /dev/null
+++ b/Tests/RunCMake/target_link_directories/CMP0099-OLD-basic-check.cmake
@@ -0,0 +1,4 @@
+
+if (actual_stdout MATCHES "DIR_INTERFACE")
+ string (APPEND RunCMake_TEST_FAILED "\nFound unexpected 'DIR_INTERFACE'.")
+endif()