Linking against Vulkan-Headers
Signed-off-by: Fabian Sauter <sauter.fabian@mailbox.org>
This commit is contained in:
parent
0ac7d82383
commit
bf0d938428
2 changed files with 6 additions and 0 deletions
|
|
@ -44,6 +44,11 @@ if(NOT KOMPUTE_OPT_ANDROID_BUILD)
|
|||
find_package(Vulkan REQUIRED)
|
||||
endif()
|
||||
|
||||
# Vulkan Header
|
||||
FetchContent_Declare(vulkan_header GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers.git
|
||||
GIT_TAG v1.3.213) # Source: https://github.com/KhronosGroup/Vulkan-Headers/tags
|
||||
FetchContent_MakeAvailable(vulkan_header)
|
||||
|
||||
# Spdlog
|
||||
if(KOMPUTE_OPT_ENABLE_SPDLOG)
|
||||
if(KOMPUTE_OPT_USE_BUILD_IN_SPDLOG)
|
||||
|
|
|
|||
|
|
@ -54,6 +54,7 @@ if(NOT KOMPUTE_OPT_ANDROID_BUILD)
|
|||
target_link_libraries(
|
||||
kompute
|
||||
Vulkan::Vulkan
|
||||
Vulkan-Headers
|
||||
fmt::fmt
|
||||
)
|
||||
else()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue