mirror of
https://github.com/AxioDL/boo.git
synced 2025-05-16 20:31:29 +00:00
Windows build fix
This commit is contained in:
parent
314563614e
commit
a7a02b0c5e
@ -157,7 +157,7 @@ elseif(WIN32)
|
|||||||
if (NOT ${VULKAN_SDK_DIRS} STREQUAL "/registry")
|
if (NOT ${VULKAN_SDK_DIRS} STREQUAL "/registry")
|
||||||
message(STATUS "Enabling Vulkan support")
|
message(STATUS "Enabling Vulkan support")
|
||||||
list(GET VULKAN_SDK_DIRS 0 VULKAN_SDK_DIR)
|
list(GET VULKAN_SDK_DIRS 0 VULKAN_SDK_DIR)
|
||||||
target_include_directories(boo PRIVATE "${VULKAN_SDK_DIR}/Include")
|
target_include_directories(boo PUBLIC "${VULKAN_SDK_DIR}/Include")
|
||||||
target_compile_definitions(boo PUBLIC
|
target_compile_definitions(boo PUBLIC
|
||||||
-DBOO_HAS_VULKAN=1
|
-DBOO_HAS_VULKAN=1
|
||||||
-DVK_USE_PLATFORM_WIN32_KHR=1
|
-DVK_USE_PLATFORM_WIN32_KHR=1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user