summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake')
-rw-r--r--Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake7
1 files changed, 7 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake b/Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake
new file mode 100644
index 0000000..f3ec67a
--- /dev/null
+++ b/Tests/RunCMake/CMP0163/CMP0118-NEW/CMP0163-WARN-Test9.cmake
@@ -0,0 +1,7 @@
+cmake_policy(SET CMP0118 NEW)
+# Leave CMP0163 unset!
+
+# Call the associated test.
+cmake_path(GET RunCMake_TEST STEM testcase)
+string(REGEX REPLACE "WARN" "Common" testcase "${testcase}")
+include(${CMAKE_CURRENT_LIST_DIR}/../${testcase}.cmake)