summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-02-16 15:29:37 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-02-18 13:30:55 (GMT)
commit79eaa908dc2ad339d5f92b10a30c4244975ab21a (patch)
tree822684b66b9a891c3c9e92ff1fdd8838fd28b45f /Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake
parent1f1fdff7fa9f51ccdc91232606a6ade20e02d83f (diff)
downloadCMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.zip
CMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.tar.gz
CMake-79eaa908dc2ad339d5f92b10a30c4244975ab21a.tar.bz2
cmListCommand: add a policy for failing on invalid indicies
Diffstat (limited to 'Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake')
-rw-r--r--Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake b/Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake
new file mode 100644
index 0000000..1ab054d
--- /dev/null
+++ b/Tests/RunCMake/CMP0121/CMP0121-GET-NEW.cmake
@@ -0,0 +1,2 @@
+cmake_policy(SET CMP0121 NEW)
+include(CMP0121-GET-Common.cmake)