From 45f6f48be5215de93955d0d38ccb2778dcec596f Mon Sep 17 00:00:00 2001 From: Reg Tiangha Date: Tue, 11 Jun 2024 17:12:42 -0600 Subject: [PATCH] cmake: update MoltenVK from v1.2.7-rc2 to v1.2.9 --- CMakeModules/DownloadExternals.cmake | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeModules/DownloadExternals.cmake b/CMakeModules/DownloadExternals.cmake index 1cfae1117..987819ba3 100644 --- a/CMakeModules/DownloadExternals.cmake +++ b/CMakeModules/DownloadExternals.cmake @@ -180,8 +180,14 @@ function(download_moltenvk) set(MOLTENVK_TAR "${CMAKE_BINARY_DIR}/externals/MoltenVK.tar") if (NOT EXISTS ${MOLTENVK_DIR}) if (NOT EXISTS ${MOLTENVK_TAR}) - file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/v1.2.7-rc2/MoltenVK-all.tar + # Note: v1.27 is the last version that uses dylib on iOS; future versions use dynamic XCFramework + if (IOS) + file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/v1.2.7/MoltenVK-all.tar ${MOLTENVK_TAR} SHOW_PROGRESS) + else() + file(DOWNLOAD https://github.com/KhronosGroup/MoltenVK/releases/download/v1.2.9/MoltenVK-all.tar + ${MOLTENVK_TAR} SHOW_PROGRESS) + endif() endif() execute_process(COMMAND ${CMAKE_COMMAND} -E tar xf "${MOLTENVK_TAR}"