Fix missing Vulkan loader on MacOS

This commit is contained in:
Georg Hagen
2024-07-30 23:08:38 +02:00
parent d166f825bb
commit a0faae192d

View File

@@ -13,5 +13,8 @@ FetchContent_Declare(
)
set(GLFW_BUILD_EXAMPLES OFF CACHE BOOL "" FORCE)
set(GLFW_BUILD_TESTS OFF CACHE BOOL "" FORCE)
if(APPLE)
set(GLFW_VULKAN_STATIC ON CACHE BOOL "" FORCE)
endif()
FetchContent_MakeAvailable(glfw)
set(glfw_FOUND ON PARENT_SCOPE)