From c745f434f5419b94b8c2895901044c79979d7ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Camilla=20L=C3=B6wy?= Date: Mon, 27 Feb 2017 23:44:03 +0100 Subject: [PATCH] Win32: Fix VULKAN_STATIC_LIBRARY not set on 32-bit --- CMake/modules/FindVulkan.cmake | 3 +++ README.md | 1 + 2 files changed, 4 insertions(+) diff --git a/CMake/modules/FindVulkan.cmake b/CMake/modules/FindVulkan.cmake index b909b513..7514b375 100644 --- a/CMake/modules/FindVulkan.cmake +++ b/CMake/modules/FindVulkan.cmake @@ -19,6 +19,9 @@ if (WIN32) find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS "$ENV{VULKAN_SDK}/Bin32" "$ENV{VK_SDK_PATH}/Bin32") + find_library(VULKAN_STATIC_LIBRARY NAMES vkstatic.1 HINTS + "$ENV{VULKAN_SDK}/Bin32" + "$ENV{VK_SDK_PATH}/Bin32") endif() elseif (APPLE) find_library(VULKAN_LIBRARY MoltenVK) diff --git a/README.md b/README.md index 903d82dc..af3706b5 100644 --- a/README.md +++ b/README.md @@ -153,6 +153,7 @@ information on what to include when reporting a bug. - [Win32] Bugfix: Non-iconified full sreeen windows did not prevent screen blanking or password enabled screensavers (#851) - [Win32] Bugfix: Mouse capture logic lost secondary release messages (#954) +- [Win32] Bugfix: The 32-bit Vulkan loader library static was not searched for - [X11] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading - [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X - [X11] Bugfix: Dynamic X11 library loading did not use full sonames (#941)