File tree 2 files changed +8
-0
lines changed
Supplemental/StringProcessing 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,10 @@ set(CMAKE_VISIBILITY_INLINES_HIDDEN YES)
7
7
8
8
list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /cmake/modules" )
9
9
10
+ if (POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
11
+ cmake_policy (SET CMP0157 OLD)
12
+ endif ()
13
+
10
14
# NOTE: always use the 3-component style as the expansion as
11
15
# `${PROJECT_VERSION}` will not extend this to the complete form and this can
12
16
# change the behaviour for comparison with non-SemVer compliant parsing. If
Original file line number Diff line number Diff line change @@ -4,6 +4,10 @@ set(CMAKE_POSITION_INDEPENDENT_CODE YES)
4
4
5
5
list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /../cmake/modules" )
6
6
7
+ if (POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
8
+ cmake_policy (SET CMP0157 OLD)
9
+ endif ()
10
+
7
11
if ($ENV{BUILD_NUMBER} )
8
12
math (EXPR BUILD_NUMBER "$ENV{BUILD_NUMBER} % 65535" )
9
13
set (BUILD_NUMBER ".${BUILD_NUMBER} " )
You can’t perform that action at this time.
0 commit comments