summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake')
-rw-r--r--Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake b/Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake
new file mode 100644
index 0000000..676792a
--- /dev/null
+++ b/Tests/RunCMake/CommandLine/Wno-error_deprecated.cmake
@@ -0,0 +1,2 @@
+# This should still produce a warning when -Wno-error=deprecated is specified
+message(DEPRECATION "Some deprecated warning")