File: Set-versioning-properties.patch

package info (click to toggle)
globjects 1.0.0-2
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,924 kB
  • ctags: 15,216
  • sloc: cpp: 60,349; python: 6,620; sh: 596; makefile: 493
file content (21 lines) | stat: -rw-r--r-- 591 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: Ghislain Antony Vaillant <ghisvail@gmail.com>
Date: Sat, 17 Sep 2016 11:08:04 +0100
Subject: Set versioning properties.

---
 source/globjects/CMakeLists.txt | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/source/globjects/CMakeLists.txt b/source/globjects/CMakeLists.txt
index 3d87d9a..281435e 100644
--- a/source/globjects/CMakeLists.txt
+++ b/source/globjects/CMakeLists.txt
@@ -324,6 +324,8 @@ set_target_properties(${target}
     PROPERTIES
     ${DEFAULT_PROJECT_OPTIONS}
     FOLDER "${IDE_FOLDER}"
+    VERSION ${META_VERSION}
+    SOVERSION ${META_VERSION_MAJOR}
 )