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:05 (GMT)
commitcbe217682dc92c97d9ee1993d8fb3509358947cc (patch)
tree49ca9c935c20028377b1e548a17520c94dd70cee /Tests
parent5b876549e2d0f677f83f88afc6e40865b6b34dba (diff)
parent078ba4b2a47bee6575497b29c98fbbc4dc7d4dc8 (diff)
downloadCMake-cbe217682dc92c97d9ee1993d8fb3509358947cc.zip
CMake-cbe217682dc92c97d9ee1993d8fb3509358947cc.tar.gz
CMake-cbe217682dc92c97d9ee1993d8fb3509358947cc.tar.bz2
Merge topic 'enable_language-CMP0126'
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.