summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
diff options
context:
space:
mode:
authorDeniz Bahadir <dbahadir@benocs.com>2020-11-11 21:04:10 (GMT)
committerDeniz Bahadir <dbahadir@benocs.com>2020-11-24 17:16:53 (GMT)
commit573d51201acb5d922e96e496b25d00092953ffd5 (patch)
tree5aa174834be767cd4c021379c2a751ec27b19bd1 /Tests/RunCMake/FileAPI/RunCMakeTest.cmake
parent6624b65b3f478574512a23a7220abff4ed590011 (diff)
downloadCMake-573d51201acb5d922e96e496b25d00092953ffd5.zip
CMake-573d51201acb5d922e96e496b25d00092953ffd5.tar.gz
CMake-573d51201acb5d922e96e496b25d00092953ffd5.tar.bz2
GENERATED prop: Set CMP0118 to NEW for some (unrelated) tests
* Adjusting the (unrelated) RunCMake.Ninja test to set CMP0118 to `NEW`. * Adjusting the (unrelated) RunCMake.FileAPI test to set CMP0118 to `NEW`.
Diffstat (limited to 'Tests/RunCMake/FileAPI/RunCMakeTest.cmake')
-rw-r--r--Tests/RunCMake/FileAPI/RunCMakeTest.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
index 2cd1f62..2bb2765 100644
--- a/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
+++ b/Tests/RunCMake/FileAPI/RunCMakeTest.cmake
@@ -50,7 +50,7 @@ run_cmake(ClientStateful)
function(run_object object)
set(RunCMake_TEST_BINARY_DIR ${RunCMake_BINARY_DIR}/${object}-build)
- list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0118=OLD)
+ list(APPEND RunCMake_TEST_OPTIONS -DCMAKE_POLICY_DEFAULT_CMP0118=NEW)
run_cmake(${object})
list(POP_BACK RunCMake_TEST_OPTIONS)
set(RunCMake_TEST_NO_CLEAN 1)