summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CMP0126/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-05-25 14:02:56 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-05-25 14:03:03 (GMT)
commitbf2717e436ff2fceaaaf3a9e032d5f10c7dc8d06 (patch)
tree8f1124bf7f5904c1b3c83eb08905b417aa0a5809 /Tests/RunCMake/CMP0126/RunCMakeTest.cmake
parent0c16774fecb8a9ef989f6c0a6705c080ee55d720 (diff)
parentd96eb5528276a19d79116d842389f3ea165ef21b (diff)
downloadCMake-bf2717e436ff2fceaaaf3a9e032d5f10c7dc8d06.zip
CMake-bf2717e436ff2fceaaaf3a9e032d5f10c7dc8d06.tar.gz
CMake-bf2717e436ff2fceaaaf3a9e032d5f10c7dc8d06.tar.bz2
Merge topic 'set-cache-keep-normal-variable'
d96eb55282 set(CACHE): do not remove normal variable Acked-by: Kitware Robot <kwrobot@kitware.com> Reviewed-by: Ben Boeckel <ben.boeckel@kitware.com> Merge-request: !6146
Diffstat (limited to 'Tests/RunCMake/CMP0126/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/CMP0126/RunCMakeTest.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CMP0126/RunCMakeTest.cmake b/Tests/RunCMake/CMP0126/RunCMakeTest.cmake
new file mode 100644
index 0000000..ae988f4
--- /dev/null
+++ b/Tests/RunCMake/CMP0126/RunCMakeTest.cmake
@@ -0,0 +1,6 @@
+include(RunCMake)
+
+run_cmake(CMP0126-OLD)
+run_cmake_with_options(CMP0126-OLD_CL -DVAR=3)
+run_cmake(CMP0126-NEW)
+run_cmake_with_options(CMP0126-NEW_CL -DVAR=3)