Skip to content

Commit

Permalink
[ci] Use find package Vulkan CMake command
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmNotHanni committed Jul 14, 2024
1 parent 005e57f commit 2723857
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,8 @@ FetchContent_MakeAvailable(vma)
FetchContent_MakeAvailable(volk)
FetchContent_MakeAvailable(Vulkan)

find_package(Vulkan)

# Work around a VMA compile error from its use of snprintf
target_compile_definitions(VulkanMemoryAllocator PRIVATE VMA_STATS_STRING_ENABLED=0)

Expand Down

0 comments on commit 2723857

Please sign in to comment.