diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2020-08-18 08:25:31 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-01 09:25:19 -0400 |
commit | f14b390198222f5d7eca9e5109fabcb0188da762 (patch) | |
tree | ad67bb4af6f85bf6fb2f4b157881a2f1e1a4a9da /Tests/RunCMake/TargetPolicies | |
parent | 5294febcaf378589dba49801321d19f93f67464e (diff) | |
download | cmake-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.txt | 1 |
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\) |