summaryrefslogtreecommitdiffstats
path: root/Tests
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-07-23 13:37:55 (GMT)
committerKitware Robot <kwrobot@kitware.com>2021-07-23 13:38:04 (GMT)
commit8ea0691e624c0271eb31fd4afb9a365256849c12 (patch)
tree46e29a67b8d61329cbc8829bcb8e11370db5bd39 /Tests
parent41e9953143c37dfa50be30ff4e34c826e2f55c0b (diff)
parent078ba4b2a47bee6575497b29c98fbbc4dc7d4dc8 (diff)
downloadCMake-8ea0691e624c0271eb31fd4afb9a365256849c12.zip
CMake-8ea0691e624c0271eb31fd4afb9a365256849c12.tar.gz
CMake-8ea0691e624c0271eb31fd4afb9a365256849c12.tar.bz2
Merge topic 'enable_language-CMP0126' into release-3.21
078ba4b2a4 Swift: Update test case to try CMP0126 NEW behavior Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !6375
Diffstat (limited to 'Tests')
-rw-r--r--Tests/SwiftOnly/CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/SwiftOnly/CMakeLists.txt b/Tests/SwiftOnly/CMakeLists.txt
index 41d14ea..01c2222 100644
--- a/Tests/SwiftOnly/CMakeLists.txt
+++ b/Tests/SwiftOnly/CMakeLists.txt
@@ -1,4 +1,7 @@
cmake_minimum_required(VERSION 3.3)
+if(POLICY CMP0126)
+ cmake_policy(SET CMP0126 NEW)
+endif()
# NOTE: Force the Release mode configuration as there are some issues with the
# debug information handling on macOS on certain Xcode builds.