mirror of
https://github.com/ZDoom/zdoom-macos-deps.git
synced 2025-02-16 16:41:42 +00:00
aedi: do not copy vulkan headers during moltenvk installation
This commit is contained in:
parent
406f269f0a
commit
17e9462881
1 changed files with 4 additions and 1 deletions
|
@ -316,11 +316,14 @@ class MoltenVKTarget(MakeTarget):
|
|||
if state.install_path.exists():
|
||||
shutil.rmtree(state.install_path)
|
||||
|
||||
include_path = state.install_path / 'include'
|
||||
os.makedirs(include_path)
|
||||
|
||||
lib_path = state.install_path / 'lib'
|
||||
os.makedirs(lib_path)
|
||||
|
||||
src_path = state.build_path / 'Package/Latest/MoltenVK'
|
||||
shutil.copytree(src_path / 'include', state.install_path / 'include')
|
||||
shutil.copytree(src_path / 'include/MoltenVK', include_path / 'MoltenVK')
|
||||
shutil.copy(state.build_path / 'LICENSE', state.install_path / 'apache2.txt')
|
||||
shutil.copy(src_path / 'dylib/macOS/libMoltenVK.dylib', lib_path)
|
||||
|
||||
|
|
Loading…
Reference in a new issue