mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-28 22:52:17 +00:00
build script: disable metal support in sdl2
it's impossible to have metal (and vulkan) support with 10.9 deployment target
This commit is contained in:
parent
b37205e589
commit
b08c779a2f
1 changed files with 7 additions and 0 deletions
7
build.py
7
build.py
|
@ -1338,6 +1338,13 @@ class Sdl2Target(CMakeStaticDependencyTarget):
|
||||||
def __init__(self, name='sdl2'):
|
def __init__(self, name='sdl2'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
||||||
|
# Need to have uniform settings for x86_64 and arm64 because of linking with Metal framework
|
||||||
|
# TODO: Remove this when default target for x64 will become 10.11+
|
||||||
|
opts = self.options
|
||||||
|
opts['VIDEO_VULKAN'] = 'NO'
|
||||||
|
opts['VIDEO_METAL'] = 'NO'
|
||||||
|
opts['RENDER_METAL'] = 'NO'
|
||||||
|
|
||||||
def prepare_source(self, builder: 'Builder'):
|
def prepare_source(self, builder: 'Builder'):
|
||||||
builder.download_source(
|
builder.download_source(
|
||||||
'https://libsdl.org/release/SDL2-2.0.14.tar.gz',
|
'https://libsdl.org/release/SDL2-2.0.14.tar.gz',
|
||||||
|
|
Loading…
Reference in a new issue