40 lines
1.3 KiB
Diff
40 lines
1.3 KiB
Diff
|
From 9a2ad88a7569cb7f4fe095d907fa001218ba07ff Mon Sep 17 00:00:00 2001
|
|||
|
From: "Matwey V. Kornilov" <matwey.kornilov@gmail.com>
|
|||
|
Date: Fri, 10 Sep 2021 18:05:09 +0000
|
|||
|
Subject: [PATCH] Add soversion for InfluxDB
|
|||
|
|
|||
|
---
|
|||
|
src/CMakeLists.txt | 16 ++++++++++++++++
|
|||
|
1 file changed, 16 insertions(+)
|
|||
|
|
|||
|
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
|
|||
|
index 106a33c..e393479 100644
|
|||
|
--- a/src/CMakeLists.txt
|
|||
|
+++ b/src/CMakeLists.txt
|
|||
|
@@ -37,6 +37,22 @@ add_library(InfluxDB
|
|||
|
)
|
|||
|
add_library(InfluxData::InfluxDB ALIAS InfluxDB)
|
|||
|
|
|||
|
+#
|
|||
|
+# Here are a set of rules to help you update your library version information:
|
|||
|
+#
|
|||
|
+# If the library source code has changed at all since the last update,
|
|||
|
+# then increment revision (‘c:r:a’ becomes ‘c:r+1:a’).
|
|||
|
+# If any interfaces have been added, removed, or changed since the last update,
|
|||
|
+# increment current, and set revision to 0.
|
|||
|
+# If any interfaces have been added since the last public release,
|
|||
|
+# then increment age.
|
|||
|
+# If any interfaces have been removed or changed since the last public release,
|
|||
|
+# then set age to 0.
|
|||
|
+#
|
|||
|
+# set_target_properties(InfluxDB PROPERTIES VERSION c.r.a SOVERSION c)
|
|||
|
+#
|
|||
|
+set_target_properties(InfluxDB PROPERTIES VERSION 0.0.0 SOVERSION 0)
|
|||
|
+
|
|||
|
generate_export_header(InfluxDB)
|
|||
|
|
|||
|
target_include_directories(InfluxDB
|
|||
|
--
|
|||
|
2.31.1
|
|||
|
|