mirror of
https://github.com/glfw/glfw.git
synced 2026-01-11 15:23:17 +01:00
Win32: Fix FindVulkan.cmake bitness test
Bitness test was VC++ specific. Closes #928.
This commit is contained in:
committed by
Camilla Löwy
parent
e7722af9a2
commit
d74fffd5de
@@ -8,7 +8,7 @@ if (WIN32)
|
||||
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
||||
"$ENV{VULKAN_SDK}/Include"
|
||||
"$ENV{VK_SDK_PATH}/Include")
|
||||
if (CMAKE_CL_64)
|
||||
if (CMAKE_SIZEOF_VOID_P EQUAL 8)
|
||||
find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
|
||||
"$ENV{VULKAN_SDK}/Bin"
|
||||
"$ENV{VK_SDK_PATH}/Bin")
|
||||
|
||||
Reference in New Issue
Block a user