File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Supplemental/StringProcessing Expand file tree Collapse file tree 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)
77
88list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /cmake/modules" )
99
10+ if (POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
11+ cmake_policy (SET CMP0157 OLD)
12+ endif ()
13+
1014# NOTE: always use the 3-component style as the expansion as
1115# `${PROJECT_VERSION}` will not extend this to the complete form and this can
1216# 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)
44
55list (APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR} /../cmake/modules" )
66
7+ if (POLICY CMP0157 AND CMAKE_Swift_COMPILER_USE_OLD_DRIVER)
8+ cmake_policy (SET CMP0157 OLD)
9+ endif ()
10+
711if ($ENV{BUILD_NUMBER} )
812 math (EXPR BUILD_NUMBER "$ENV{BUILD_NUMBER} % 65535" )
913 set (BUILD_NUMBER ".${BUILD_NUMBER} " )
You can’t perform that action at this time.
0 commit comments