diff options
author | Brad King <brad.king@kitware.com> | 2022-03-04 18:20:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-03-04 18:55:12 (GMT) |
commit | 30313aa72166ef06cde8c64ab1e582f8a242502e (patch) | |
tree | dce3c7dbe42dc55cd68912e8efe338f498dacb2e /Tests/RunCMake/while/CMP0130-NEW.cmake | |
parent | 8895284e115648ecfed020af2e55403341f3dd76 (diff) | |
download | CMake-30313aa72166ef06cde8c64ab1e582f8a242502e.zip CMake-30313aa72166ef06cde8c64ab1e582f8a242502e.tar.gz CMake-30313aa72166ef06cde8c64ab1e582f8a242502e.tar.bz2 |
while: diagnose errors during condition evaluation
Add a policy to diagnose condition errors in a compatible way.
Fixes: #23296
Diffstat (limited to 'Tests/RunCMake/while/CMP0130-NEW.cmake')
-rw-r--r-- | Tests/RunCMake/while/CMP0130-NEW.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/while/CMP0130-NEW.cmake b/Tests/RunCMake/while/CMP0130-NEW.cmake new file mode 100644 index 0000000..3cc5027 --- /dev/null +++ b/Tests/RunCMake/while/CMP0130-NEW.cmake @@ -0,0 +1,2 @@ +cmake_policy(SET CMP0130 NEW) +include(CMP0130-common.cmake) |