File: 0003-Add-override-for-SOVERSION-AND-OUTPUT_NAME.patch

package info (click to toggle)
stdgpu-contrib 1.3.0%2Bgit20220507.32e0517-3
  • links: PTS, VCS
  • area: contrib
  • in suites: forky, sid, trixie
  • size: 2,524 kB
  • sloc: cpp: 7,818; pascal: 1,893; xml: 214; sh: 181; makefile: 16
file content (21 lines) | stat: -rw-r--r-- 666 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From: =?utf-8?q?Timo_R=C3=B6hling?= <roehling@debian.org>
Date: Sat, 27 May 2023 14:30:19 +0200
Subject: Add override for SOVERSION AND OUTPUT_NAME

Forwarded: not-needed
---
 src/stdgpu/CMakeLists.txt | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/stdgpu/CMakeLists.txt b/src/stdgpu/CMakeLists.txt
index cdd8705..25cc379 100644
--- a/src/stdgpu/CMakeLists.txt
+++ b/src/stdgpu/CMakeLists.txt
@@ -141,6 +141,7 @@ endif()
 
 add_library(stdgpu::stdgpu ALIAS stdgpu)
 
+set_target_properties(stdgpu PROPERTIES VERSION "${PROJECT_VERSION}" SOVERSION "${STDGPU_SOVERSION}" OUTPUT_NAME "${STDGPU_OUTPUT_NAME}")
 
 add_subdirectory(${STDGPU_BACKEND_DIRECTORY})