2020-08-29 10:12:24 +02:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2020-08-29 10:10:12.022296526 +0200
|
|
|
|
|
|
|
|
Avoid the installation of a custom xxhash.h header. Since vk_*.h header files
|
|
|
|
still include xxhash.h (and now would source the system xxhash instead of the
|
|
|
|
bundled one), it makes sense to build ValidationLayers itself with the system
|
|
|
|
xxhash as well, so that the ABI matches.
|
|
|
|
|
|
|
|
---
|
2023-08-23 21:46:53 +02:00
|
|
|
layers/CMakeLists.txt | 3 +--
|
|
|
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
2020-08-29 10:12:24 +02:00
|
|
|
|
2023-10-27 07:52:42 +02:00
|
|
|
Index: Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt
|
2020-08-29 10:12:24 +02:00
|
|
|
===================================================================
|
2023-10-27 07:52:42 +02:00
|
|
|
--- Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0.orig/layers/CMakeLists.txt
|
|
|
|
+++ Vulkan-ValidationLayers-vulkan-sdk-1.3.268.0/layers/CMakeLists.txt
|
|
|
|
@@ -28,8 +28,6 @@ target_sources(VkLayer_utils PRIVATE
|
|
|
|
error_message/error_location.cpp
|
|
|
|
error_message/error_location.h
|
|
|
|
error_message/record_object.h
|
2023-04-20 00:07:47 +02:00
|
|
|
- external/xxhash.h
|
|
|
|
- external/xxhash.cpp
|
2023-10-27 07:52:42 +02:00
|
|
|
${API_TYPE}/generated/error_location_helper.cpp
|
|
|
|
${API_TYPE}/generated/error_location_helper.h
|
|
|
|
${API_TYPE}/generated/pnext_chain_extraction.cpp
|
|
|
|
@@ -76,6 +74,7 @@ target_link_libraries(VkLayer_utils PUBL
|
|
|
|
Vulkan::LayerSettings
|
|
|
|
Vulkan::UtilityHeaders
|
2023-08-23 21:46:53 +02:00
|
|
|
${CMAKE_DL_LIBS}
|
|
|
|
+ -lxxhash
|
|
|
|
)
|
2023-04-20 00:07:47 +02:00
|
|
|
target_include_directories(VkLayer_utils SYSTEM PRIVATE external)
|
2023-05-31 02:01:55 +02:00
|
|
|
target_include_directories(VkLayer_utils PUBLIC . ${API_TYPE})
|