فهرست منبع

Win32: Fix VULKAN_STATIC_LIBRARY not set on 32-bit

Camilla Löwy 8 سال پیش
والد
کامیت
c745f434f5
2فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  1. 3 0
      CMake/modules/FindVulkan.cmake
  2. 1 0
      README.md

+ 3 - 0
CMake/modules/FindVulkan.cmake

@@ -19,6 +19,9 @@ if (WIN32)
         find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
         find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
             "$ENV{VULKAN_SDK}/Bin32"
             "$ENV{VULKAN_SDK}/Bin32"
             "$ENV{VK_SDK_PATH}/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()
     endif()
 elseif (APPLE)
 elseif (APPLE)
     find_library(VULKAN_LIBRARY MoltenVK)
     find_library(VULKAN_LIBRARY MoltenVK)

+ 1 - 0
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
 - [Win32] Bugfix: Non-iconified full sreeen windows did not prevent screen
                   blanking or password enabled screensavers (#851)
                   blanking or password enabled screensavers (#851)
 - [Win32] Bugfix: Mouse capture logic lost secondary release messages (#954)
 - [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] Replaced `_GLFW_HAS_XF86VM` compile-time option with dynamic loading
 - [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
 - [X11] Bugfix: `glfwGetVideoMode` would segfault on Cygwin/X
 - [X11] Bugfix: Dynamic X11 library loading did not use full sonames (#941)
 - [X11] Bugfix: Dynamic X11 library loading did not use full sonames (#941)