mirror of https://github.com/mpv-player/mpv
build: don't check for Swift when disabled
This commit is contained in:
parent
65b1c2d065
commit
f7f5bd80bb
|
@ -74,4 +74,5 @@ def __find_swift_compiler(ctx):
|
||||||
def configure(ctx):
|
def configure(ctx):
|
||||||
if ctx.env.DEST_OS == "darwin":
|
if ctx.env.DEST_OS == "darwin":
|
||||||
__find_macos_sdk(ctx)
|
__find_macos_sdk(ctx)
|
||||||
__find_swift_compiler(ctx)
|
if ctx.options.enable_swift is not False:
|
||||||
|
__find_swift_compiler(ctx)
|
||||||
|
|
Loading…
Reference in New Issue