Jan Engelhardt
ea15dd6db6
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-validationlayers?expand=0&rev=107
28 lines
1.1 KiB
Diff
28 lines
1.1 KiB
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2020-08-19 13:21:33.156157310 +0200
|
|
|
|
We do not want static archives in openSUSE, so need to turn on SHARED mode.
|
|
As a result, a version needs to be added.
|
|
---
|
|
CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt
|
|
===================================================================
|
|
--- Vulkan-ValidationLayers-sdk-1.3.236.0.orig/CMakeLists.txt
|
|
+++ Vulkan-ValidationLayers-sdk-1.3.236.0/CMakeLists.txt
|
|
@@ -255,11 +255,12 @@ endif()
|
|
# files directly in layers.
|
|
|
|
add_library(VkLayer_utils
|
|
- STATIC
|
|
+ SHARED
|
|
layers/vk_layer_config.cpp
|
|
layers/vk_layer_extension_utils.cpp
|
|
layers/vk_layer_utils.cpp
|
|
layers/generated/vk_format_utils.cpp)
|
|
+set_target_properties(VkLayer_utils PROPERTIES OUTPUT_NAME "VkLayer_utils-@PACKAGE_VERSION@")
|
|
target_link_libraries(VkLayer_utils PUBLIC Vulkan::Headers)
|
|
if (VVL_ENABLE_ASAN)
|
|
target_compile_options(VkLayer_utils PRIVATE -fsanitize=address)
|