summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/TargetPolicies
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2020-08-18 08:25:31 -0400
committerBrad King <brad.king@kitware.com>2020-09-01 09:25:19 -0400
commitf14b390198222f5d7eca9e5109fabcb0188da762 (patch)
treead67bb4af6f85bf6fb2f4b157881a2f1e1a4a9da /Tests/RunCMake/TargetPolicies
parent5294febcaf378589dba49801321d19f93f67464e (diff)
downloadcmake-f14b390198222f5d7eca9e5109fabcb0188da762.tar.gz
GenEx: Remove unneeded dependencies from target info queries
Only generate a graph dependency between a custom command and a target when the custom command queries for the file path of an artifact of the target. This makes generator expressions such as `TARGET_FILE_DIR` behave the same way as `TARGET_PROPERTY` which never generated a graph dependency.
Diffstat (limited to 'Tests/RunCMake/TargetPolicies')
-rw-r--r--Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
index 2454f25ffc..fe13e813e5 100644
--- a/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
+++ b/Tests/RunCMake/TargetPolicies/PolicyList-stderr.txt
@@ -32,6 +32,7 @@
\* CMP0104
\* CMP0105
\* CMP0108
+ \* CMP0112
Call Stack \(most recent call first\):
CMakeLists.txt:3 \(include\)