From a0faae192dae3ccbc39e6a797a766b45c3106199 Mon Sep 17 00:00:00 2001 From: Georg Hagen Date: Tue, 30 Jul 2024 23:08:38 +0200 Subject: [PATCH] Fix missing Vulkan loader on MacOS --- 3rdParty/glfw/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/3rdParty/glfw/CMakeLists.txt b/3rdParty/glfw/CMakeLists.txt index 0ff8d20..030c155 100644 --- a/3rdParty/glfw/CMakeLists.txt +++ b/3rdParty/glfw/CMakeLists.txt @@ -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) \ No newline at end of file +set(glfw_FOUND ON PARENT_SCOPE)