1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-24 15:52:25 +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:
Akemi 2018-11-24 13:14:22 +01:00 committed by Jan Ekström
parent c90f083614
commit 61005e10ea

View File

@ -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,