summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake')
-rw-r--r--Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
new file mode 100644
index 0000000..2c3e401
--- /dev/null
+++ b/Tests/RunCMake/CMP0040/CMP0040-WARN-missing-target.cmake
@@ -0,0 +1,4 @@
+
+add_custom_command(TARGET foobar PRE_BUILD
+ COMMAND "${CMAKE_COMMAND} -E hello world"
+)