diff options
author | Brad King <brad.king@kitware.com> | 2021-05-25 14:02:56 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2021-05-25 14:03:03 (GMT) |
commit | bf2717e436ff2fceaaaf3a9e032d5f10c7dc8d06 (patch) | |
tree | 8f1124bf7f5904c1b3c83eb08905b417aa0a5809 /Tests/RunCMake/CMP0126/RunCMakeTest.cmake | |
parent | 0c16774fecb8a9ef989f6c0a6705c080ee55d720 (diff) | |
parent | d96eb5528276a19d79116d842389f3ea165ef21b (diff) | |
download | CMake-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.cmake | 6 |
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) |