We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb2819 commit d1c75f2Copy full SHA for d1c75f2
Runtimes/Supplemental/Differentiation/CMakeLists.txt
@@ -1,4 +1,13 @@
1
cmake_minimum_required(VERSION 3.29)
2
+# TODO before requiring CMake 4.1 or later
3
+# and/or enforcing CMP0195, please check/update
4
+# the implementation of `emit_swift_interface`
5
+# in `EmitSwiftInterface.cmake`
6
+# to ensure it keeps laying down nested swiftmodule folders
7
+
8
+if(POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
9
+ cmake_policy(SET CMP0157 OLD)
10
+endif()
11
12
if($ENV{BUILD_NUMBER})
13
math(EXPR BUILD_NUMBER "$ENV{BUILD_NUMBER} % 65535")
0 commit comments