mirror of
https://github.com/54108/Atom.git
synced 2025-04-14 10:26:04 +00:00
更新CMakeLists.txt,调整Vulkan库配置
This commit is contained in:
parent
f936b1d0d5
commit
a618e7584f
@ -26,9 +26,9 @@ include_directories(${IMGUI_DIR} ${IMGUI_DIR}/backends)
|
|||||||
|
|
||||||
# Libraries
|
# Libraries
|
||||||
find_package(Vulkan REQUIRED)
|
find_package(Vulkan REQUIRED)
|
||||||
#find_library(VULKAN_LIBRARY
|
# find_library(VULKAN_LIBRARY
|
||||||
#NAMES vulkan vulkan-1)
|
# NAMES vulkan vulkan-1)
|
||||||
#set(LIBRARIES "glfw;${VULKAN_LIBRARY}")
|
# set(LIBRARIES "glfw;${VULKAN_LIBRARY}")
|
||||||
set(LIBRARIES "glfw;Vulkan::Vulkan")
|
set(LIBRARIES "glfw;Vulkan::Vulkan")
|
||||||
|
|
||||||
# Use vulkan headers from glfw:
|
# Use vulkan headers from glfw:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user