summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0065/WARN-ON.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0065/WARN-ON.cmake')
-rw-r--r--Tests/RunCMake/CMP0065/WARN-ON.cmake3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0065/WARN-ON.cmake b/Tests/RunCMake/CMP0065/WARN-ON.cmake
new file mode 100644
index 0000000..6ed4a41
--- /dev/null
+++ b/Tests/RunCMake/CMP0065/WARN-ON.cmake
@@ -0,0 +1,3 @@
+set(CMAKE_POLICY_WARNING_CMP0065 1)
+enable_language(C)
+add_executable(main subproject/main.c)