summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake')
-rw-r--r--Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake b/Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake
index 767fa69..8edff2c 100644
--- a/Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake
+++ b/Tests/RunCMake/CheckSourceCompiles/CheckSourceCompilesSwift.cmake
@@ -1,3 +1,4 @@
+cmake_policy(SET CMP0157 NEW)
enable_language(Swift)
include(CheckSourceCompiles)