Skip to content

Commit 0ef43db

Browse files
authored
Update vulkan_prebuilt_helpers.sh
1 parent 33a139d commit 0ef43db

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

vulkan_prebuilt_helpers.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,11 +56,15 @@ function install_mac() {
5656
local InstallVulkan
5757
if [[ -d InstallVulkan-${VULKAN_SDK_VERSION}.app/Contents ]] ; then
5858
InstallVulkan=InstallVulkan-${VULKAN_SDK_VERSION}
59+
elif [[ -d vulkansdk-macOS-${VULKAN_SDK_VERSION}.app/Contents ]] ; then
60+
InstallVulkan=vulkansdk-macOS-${VULKAN_SDK_VERSION}
5961
elif [[ -d InstallVulkan.app/Contents ]] ; then
6062
InstallVulkan=InstallVulkan
6163
else
62-
echo "unrecognized zip/layout: vulkan_sdk.zip" >&2
64+
echo "expecting ..vulkan.app/Contents folder (perhaps lunarg changed the archive layout again?): vulkan_sdk.zip" >&2
65+
echo "file vulkan_sdk.zip" >&2
6366
file vulkan_sdk.zip
67+
echo "unzip -t vulkan_sdk.zip" >&2
6468
unzip -t vulkan_sdk.zip
6569
exit 7
6670
fi

0 commit comments

Comments
 (0)