summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/message/warnmessage.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/message/warnmessage.cmake')
-rw-r--r--Tests/RunCMake/message/warnmessage.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/Tests/RunCMake/message/warnmessage.cmake b/Tests/RunCMake/message/warnmessage.cmake
new file mode 100644
index 0000000..4c421a1
--- /dev/null
+++ b/Tests/RunCMake/message/warnmessage.cmake
@@ -0,0 +1,4 @@
+
+set(CMAKE_WARN_DEPRECATED ON)
+
+message(DEPRECATION "This is a warning")