mirror of
https://github.com/mpv-player/mpv
synced 2024-12-23 23:32:26 +00:00
build: bump minimum swift version to 3.0.2
#6299 reported problems with earlier 3.0.x swift versions. i tested with 3.0.2/SDK 10.12.2 and just assumed it also works with the older 3.0.x swift and 10.12.x SDK versions. due to the unstable nature of swift there were slight API differences that caused build problems. since swift is bundled with the SDK we just bump the minimum swift version.
This commit is contained in:
parent
c90f083614
commit
61005e10ea
@ -114,7 +114,7 @@ def check_cocoa(ctx, dependency_identifier):
|
||||
return res
|
||||
|
||||
def check_swift(ctx, dependency_identifier):
|
||||
minVer = StrictVersion("3.0")
|
||||
minVer = StrictVersion("3.0.2")
|
||||
if ctx.env.SWIFT_VERSION:
|
||||
if StrictVersion(ctx.env.SWIFT_VERSION) >= minVer:
|
||||
ctx.add_optional_message(dependency_identifier,
|
||||
|
Loading…
Reference in New Issue
Block a user