2024-01-19 12:01:27 +01:00
|
|
|
From: Jan Engelhardt <jengelh@inai.de>
|
|
|
|
Date: 2024-01-19 11:52:08.473079444 +0100
|
|
|
|
|
|
|
|
---
|
2024-03-21 10:42:22 +01:00
|
|
|
CMakeLists.txt | 3 ++-
|
|
|
|
1 file changed, 2 insertions(+), 1 deletion(-)
|
2024-01-19 12:01:27 +01:00
|
|
|
|
2024-03-21 10:42:22 +01:00
|
|
|
Index: volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
2024-01-19 12:01:27 +01:00
|
|
|
===================================================================
|
2024-03-21 10:42:22 +01:00
|
|
|
--- volk-vulkan-sdk-1.3.280.0.orig/CMakeLists.txt
|
|
|
|
+++ volk-vulkan-sdk-1.3.280.0/CMakeLists.txt
|
|
|
|
@@ -31,7 +31,8 @@ endif()
|
2024-01-19 12:01:27 +01:00
|
|
|
# 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)
|
2024-03-21 10:42:22 +01:00
|
|
|
+ set_target_properties(volk PROPERTIES OUTPUT_NAME "volk-@PACKAGE_VERSION@")
|
2024-01-19 12:01:27 +01:00
|
|
|
add_library(volk::volk ALIAS volk)
|
|
|
|
target_include_directories(volk PUBLIC
|
|
|
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_LIST_DIR}>
|