Jan Engelhardt 2023-05-31 00:01:55 +00:00 committed by Git OBS Bridge
parent 43365f8064
commit 2fd9fb0689

View File

@ -10,25 +10,25 @@ xxhash as well, so that the ABI matches.
layers/CMakeLists.txt | 4 +--- layers/CMakeLists.txt | 4 +---
1 file changed, 1 insertion(+), 3 deletions(-) 1 file changed, 1 insertion(+), 3 deletions(-)
Index: Vulkan-ValidationLayers-1.3.247/layers/CMakeLists.txt Index: Vulkan-ValidationLayers-sdk-1.3.250.0/layers/CMakeLists.txt
=================================================================== ===================================================================
--- Vulkan-ValidationLayers-1.3.247.orig/layers/CMakeLists.txt --- Vulkan-ValidationLayers-sdk-1.3.250.0.orig/layers/CMakeLists.txt
+++ Vulkan-ValidationLayers-1.3.247/layers/CMakeLists.txt +++ Vulkan-ValidationLayers-sdk-1.3.250.0/layers/CMakeLists.txt
@@ -19,8 +19,6 @@ target_sources(VkLayer_utils PRIVATE @@ -26,8 +26,6 @@ target_sources(VkLayer_utils PRIVATE
containers/custom_containers.h containers/custom_containers.h
error_message/logging.h error_message/logging.h
error_message/logging.cpp error_message/logging.cpp
- external/xxhash.h - external/xxhash.h
- external/xxhash.cpp - external/xxhash.cpp
generated/vk_format_utils.h ${API_TYPE}/generated/lvt_function_pointers.cpp
generated/vk_format_utils.cpp ${API_TYPE}/generated/lvt_function_pointers.h
generated/vk_validation_error_messages.h ${API_TYPE}/generated/vk_format_utils.h
@@ -51,7 +49,7 @@ target_sources(VkLayer_utils PRIVATE @@ -66,7 +64,7 @@ target_sources(VkLayer_utils PRIVATE
# https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/4640 # https://github.com/KhronosGroup/Vulkan-ValidationLayers/issues/4640
target_compile_definitions(VkLayer_utils PUBLIC XXH_NO_LONG_LONG) target_compile_definitions(VkLayer_utils PUBLIC XXH_NO_LONG_LONG)
-target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers) -target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers)
+target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers -lxxhash) +target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers -lxxhash)
target_include_directories(VkLayer_utils SYSTEM PRIVATE external) target_include_directories(VkLayer_utils SYSTEM PRIVATE external)
target_include_directories(VkLayer_utils PUBLIC .) target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE})