From 5eeb2c4c570ce92f5f48bf667e39e9d4da2ef13a Mon Sep 17 00:00:00 2001 From: Juan Ramos Date: Mon, 9 Jan 2023 16:12:28 -0700 Subject: cmake: Remove Vulkan::Registry Vulkan::Registry behaves differently in `add_subdirectory` vs `find_package` builds. Which can result in build failures. Also Vulkan::Registry never made sense as a CMake target and was very brittle in numerous ways. Better to provide a `VULKAN_HEADERS_REGISTRY_DIRECTORY` to users instead and remove Vulkan::Registry completely. closes #351 --- BUILD.md | 2 ++ 1 file changed, 2 insertions(+) (limited to 'BUILD.md') diff --git a/BUILD.md b/BUILD.md index 03d6b7c..913208c 100644 --- a/BUILD.md +++ b/BUILD.md @@ -54,6 +54,8 @@ Which, when successful, will add library target called `Vulkan::Headers` which y find_package(VulkanHeaders REQUIRED CONFIG) target_link_libraries(foobar PRIVATE Vulkan::Headers) + +message(STATUS "Vulkan Headers Registry: ${VULKAN_HEADERS_REGISTRY_DIRECTORY}") ``` ## Repository Set-Up -- cgit v1.2.3