build: Update MoltenVK and fix missing add_dependencies for copy. (#1970)

* build: Fix missing add_dependencies for MoltenVK copy target.

* externals: Update MoltenVK
This commit is contained in:
squidbus
2024-12-29 02:36:41 -08:00
committed by GitHub
parent 202c1046a1
commit da9e45b582
2 changed files with 2 additions and 1 deletions

View File

@@ -917,6 +917,7 @@ if (APPLE)
DEPENDS ${MVK_DYLIB_SRC}
COMMAND cmake -E copy ${MVK_DYLIB_SRC} ${MVK_DYLIB_DST})
add_custom_target(CopyMoltenVK DEPENDS ${MVK_DYLIB_DST})
add_dependencies(CopyMoltenVK MoltenVK)
add_dependencies(shadps4 CopyMoltenVK)
set_property(TARGET shadps4 APPEND PROPERTY BUILD_RPATH "@executable_path/../Frameworks")
else()