Skip to content

Commit

Permalink
[cmake] Update Vulkan SDK version
Browse files Browse the repository at this point in the history
  • Loading branch information
IAmNotHanni committed Jul 14, 2024
1 parent 005e57f commit 3072bd4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions cmake/dependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,6 @@ FetchContent_Declare(volk

FetchContent_Declare(Vulkan
GIT_REPOSITORY https://github.com/KhronosGroup/Vulkan-Headers
GIT_TAG v1.3.215
GIT_TAG v1.3.283
GIT_PROGRESS ON
FIND_PACKAGE_ARGS 1.3.215)
FIND_PACKAGE_ARGS 1.3.283)
4 changes: 3 additions & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,9 @@ target_include_directories(
${CMAKE_CURRENT_BINARY_DIR}/include/
)

# Vulkan SDK must be installed first
FetchContent_MakeAvailable(Vulkan)

# Declare use of dependencies
FetchContent_MakeAvailable(fmt)
FetchContent_MakeAvailable(glfw)
Expand All @@ -134,7 +137,6 @@ FetchContent_MakeAvailable(tinygltf)
FetchContent_MakeAvailable(toml)
FetchContent_MakeAvailable(vma)
FetchContent_MakeAvailable(volk)
FetchContent_MakeAvailable(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 3072bd4

Please sign in to comment.