Fix search path for 32-bit Vulkan import library
This commit is contained in:
parent
eabc64fb7d
commit
d6975a708a
@ -7,8 +7,13 @@
|
|||||||
if (WIN32)
|
if (WIN32)
|
||||||
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
||||||
"$ENV{VK_SDK_PATH}/Include")
|
"$ENV{VK_SDK_PATH}/Include")
|
||||||
find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
|
if (CMAKE_CL_64)
|
||||||
"$ENV{VK_SDK_PATH}/Bin")
|
find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
|
||||||
|
"$ENV{VK_SDK_PATH}/Bin")
|
||||||
|
else()
|
||||||
|
find_library(VULKAN_LIBRARY NAMES vulkan-1 HINTS
|
||||||
|
"$ENV{VK_SDK_PATH}/Bin32")
|
||||||
|
endif()
|
||||||
else()
|
else()
|
||||||
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
find_path(VULKAN_INCLUDE_DIR NAMES vulkan/vulkan.h HINTS
|
||||||
"$ENV{VULKAN_SDK}/include")
|
"$ENV{VULKAN_SDK}/include")
|
||||||
|
Loading…
Reference in New Issue
Block a user