forked from pool/vulkan-volk
Jan Engelhardt
d852f54e29
OBS-URL: https://build.opensuse.org/package/show/X11:Wayland/vulkan-volk?expand=0&rev=7
22 lines
755 B
Diff
22 lines
755 B
Diff
From: Jan Engelhardt <jengelh@inai.de>
|
|
Date: 2024-01-19 11:52:08.473079444 +0100
|
|
|
|
---
|
|
CMakeLists.txt | 3 ++-
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
|
|
|
Index: volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
|
===================================================================
|
|
--- volk-vulkan-sdk-1.3.280.0.orig/CMakeLists.txt
|
|
+++ volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
|
@@ -31,7 +31,8 @@ endif()
|
|
# Static library
|
|
|
|
if(NOT VOLK_HEADERS_ONLY OR VOLK_INSTALL)
|
|
- add_library(volk STATIC volk.h volk.c)
|
|
+ add_library(volk SHARED volk.h volk.c)
|
|
+ set_target_properties(volk PROPERTIES OUTPUT_NAME "volk-@PACKAGE_VERSION@")
|
|
add_library(volk::volk ALIAS volk)
|
|
target_include_directories(volk PUBLIC
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
|