Skip to content

Commit

Permalink
Disabled the Vulkan-Module target.
Browse files Browse the repository at this point in the history
Can't update to the latest Vulkan-Headers yet because some things were renamed in an incompatible way.
  • Loading branch information
apanteleev committed Nov 21, 2024
1 parent d1d737f commit 041518a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ endif()
set(CMAKE_MODULE_PATH ${CMAKE_CURRENT_SOURCE_DIR}/cmake)

if (NVRHI_WITH_VULKAN AND NOT TARGET Vulkan-Headers AND NOT TARGET Vulkan::Headers)
# Don't need the cpp module, disable it.
# TODO: Remove this after updating Vulkan-Headers to v1.3.301 or later, which have this option OFF by default.
option(VULKAN_HEADERS_ENABLE_MODULE "" OFF)

add_subdirectory(thirdparty/Vulkan-Headers)
endif()

Expand Down

0 comments on commit 041518a

Please sign in to comment.