summaryrefslogtreecommitdiff
path: root/Tests/RunCMake/target_sources/MissingSource.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/target_sources/MissingSource.cmake')
-rw-r--r--Tests/RunCMake/target_sources/MissingSource.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/target_sources/MissingSource.cmake b/Tests/RunCMake/target_sources/MissingSource.cmake
new file mode 100644
index 0000000000..2bb71e4935
--- /dev/null
+++ b/Tests/RunCMake/target_sources/MissingSource.cmake
@@ -0,0 +1,3 @@
+cmake_policy(SET CMP0115 NEW)
+add_custom_target(foo)
+target_sources(foo PRIVATE missing.txt)