summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-03-17 16:44:48 (GMT)
committerBrad King <brad.king@kitware.com>2021-03-18 13:57:49 (GMT)
commit06feb845aab7127a3067567a8fffb5777eac8187 (patch)
tree8ffb21abe868bb96eff177bf3ff4eddb4554c69e /Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt
parentfab7fe7ef5a5462952297611c1dd668a603e3a36 (diff)
downloadCMake-06feb845aab7127a3067567a8fffb5777eac8187.zip
CMake-06feb845aab7127a3067567a8fffb5777eac8187.tar.gz
CMake-06feb845aab7127a3067567a8fffb5777eac8187.tar.bz2
CMP0118: Fix NEW behavior when looking up target sources
Under the CMP0118 NEW behavior, sources generated in one directory should be visible when added to targets in other directories. This was accidentally left out of commit 6624b65b3f (GENERATED prop: Add implementation for policy CMP0118 being set to NEW, 2020-11-09, v3.20.0-rc1~393^2~1). Fixes: #18399
Diffstat (limited to 'Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt')
-rw-r--r--Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt11
1 files changed, 1 insertions, 10 deletions
diff --git a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt
index 17e2b4a..0c84cfe 100644
--- a/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt
+++ b/Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-stderr.txt
@@ -33,13 +33,4 @@ Generated_source6\.txt: # 1b # GENERATED = `1`
Generated_source6\.txt: # 2a # GENERATED = `1`
Generated_source6\.txt: # 2b # GENERATED = `1`
Generated_source6\.txt: # 3a # GENERATED = `0`
-Generated_source6\.txt: # 3b # GENERATED = `0`
-CMake Error at CMP0118-Common-Test6\.cmake:[0-9]+ \(add_custom_target\):
- Cannot find source file:
-
-[ \t]*.*Tests/RunCMake/CMP0118/CMP0118-NEW-Test6-build/Generated_source4\.txt
-Call Stack \(most recent call first\):
- CMP0118-NEW-Test6\.cmake:[0-9]+ \(include\)
- CMakeLists\.txt:[0-9]+ \(include\)
-+
-CMake Generate step failed\. Build files cannot be regenerated correctly\.$
+Generated_source6\.txt: # 3b # GENERATED = `0`$