Skip to content

Commit

Permalink
Stop looking for Vulkan SDK.
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkCallow committed Oct 27, 2023
1 parent 61009ed commit e2f8a4d
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions cmake/mkvk.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,18 @@

# Code generation scripts that require a Vulkan SDK installation

set(skip_mkvk_message "-> skipping mkvk target (this is harmless; only needed when re-generating of vulkan headers and dfdutils is required)")
#set(skip_mkvk_message "-> skipping mkvk target (this is harmless; only needed when re-generating of vulkan headers and dfdutils is required)")

if (NOT IOS)
# find_package doesn't find the Vulkan SDK when building for IOS.
# I haven't investigated why.
find_package(Vulkan)
if(NOT Vulkan_FOUND)
message(STATUS "Vulkan SDK not found ${skip_mkvk_message}")
return()
endif()
# Not needed as local custom vulkan_core.h is used. Keeping
# in case we go back to the standard one.
# # find_package doesn't find the Vulkan SDK when building for IOS.
# # I haven't investigated why.
# find_package(Vulkan)
# if(NOT Vulkan_FOUND)
# message(STATUS "Vulkan SDK not found ${skip_mkvk_message}")
# return()
# endif()
else()
# Skip mkvk. We don't need to run it when building for iOS.
return()
Expand Down

0 comments on commit e2f8a4d

Please sign in to comment.