mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-10 14:41:43 +00:00
aedi: add vulkan-loader target
This commit is contained in:
parent
f6784fe5fc
commit
2751868391
2 changed files with 16 additions and 0 deletions
|
@ -95,6 +95,7 @@ def targets():
|
|||
SodiumTarget(),
|
||||
TiffTarget(),
|
||||
VulkanHeadersTarget(),
|
||||
VulkanLoaderTarget(),
|
||||
WebpTarget(),
|
||||
WxWidgetsTarget(),
|
||||
XmpTarget(),
|
||||
|
|
|
@ -673,6 +673,21 @@ class VulkanHeadersTarget(CMakeStaticDependencyTarget):
|
|||
'0939d6cb950746f6f9cab59399c0a99628ed186426a972996599f90d34d8a99a')
|
||||
|
||||
|
||||
class VulkanLoaderTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='vulkan-loader'):
|
||||
super().__init__(name)
|
||||
|
||||
def prepare_source(self, state: BuildState):
|
||||
state.download_source(
|
||||
# Version should match with the current MoltenVK release
|
||||
'https://github.com/KhronosGroup/Vulkan-Loader/archive/refs/tags/sdk-1.2.189.0.tar.gz',
|
||||
'd72534194263992e23ad7c32469a71b66e9801b00cc1a067d7ff46fdca9dba33')
|
||||
|
||||
def configure(self, state: BuildState):
|
||||
state.options['BUILD_STATIC_LOADER'] = 'YES'
|
||||
super().configure(state)
|
||||
|
||||
|
||||
class WebpTarget(CMakeStaticDependencyTarget):
|
||||
def __init__(self, name='webp'):
|
||||
super().__init__(name)
|
||||
|
|
Loading…
Reference in a new issue