mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2024-11-26 05:41:14 +00:00
aedi: add vulkan-headers target
This commit is contained in:
parent
d9585fd22a
commit
e9a6d4d5e6
2 changed files with 12 additions and 0 deletions
|
@ -94,6 +94,7 @@ def targets():
|
||||||
SfmlTarget(),
|
SfmlTarget(),
|
||||||
SodiumTarget(),
|
SodiumTarget(),
|
||||||
TiffTarget(),
|
TiffTarget(),
|
||||||
|
VulkanHeadersTarget(),
|
||||||
WebpTarget(),
|
WebpTarget(),
|
||||||
WxWidgetsTarget(),
|
WxWidgetsTarget(),
|
||||||
XmpTarget(),
|
XmpTarget(),
|
||||||
|
|
|
@ -662,6 +662,17 @@ class TiffTarget(CMakeStaticDependencyTarget):
|
||||||
return line
|
return line
|
||||||
|
|
||||||
|
|
||||||
|
class VulkanHeadersTarget(CMakeStaticDependencyTarget):
|
||||||
|
def __init__(self, name='vulkan-headers'):
|
||||||
|
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-Headers/archive/refs/tags/v1.2.189.tar.gz',
|
||||||
|
'0939d6cb950746f6f9cab59399c0a99628ed186426a972996599f90d34d8a99a')
|
||||||
|
|
||||||
|
|
||||||
class WebpTarget(CMakeStaticDependencyTarget):
|
class WebpTarget(CMakeStaticDependencyTarget):
|
||||||
def __init__(self, name='webp'):
|
def __init__(self, name='webp'):
|
||||||
super().__init__(name)
|
super().__init__(name)
|
||||||
|
|
Loading…
Reference in a new issue