summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandr Akulich <akulichalexander@gmail.com>2016-01-16 01:37:45 +0500
committerAlexandr Akulich <akulichalexander@gmail.com>2016-01-16 01:45:53 +0500
commit2ff93cd0c0b73e2fc07d9ecbc115460224a1cbd1 (patch)
treedceda0e79acdc3e0e3fecf99717a2920dc427ea1
parent5eeddedd04c9a4d18c92b4eb5aa494d7abc9a1d5 (diff)
CMakeLists: The service library now have own ABI (.so) version.
-rw-r--r--CMakeLists.txt2
-rw-r--r--TelepathyQt/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 3716f127..73f3a16d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,8 @@ else (${QT_VERSION_MAJOR} EQUAL 4)
set(TP_QT_ABI_VERSION 0)
endif (${QT_VERSION_MAJOR} EQUAL 4)
+set(TP_QT_SERVICE_ABI_VERSION 0)
+
# This variable is used for the library's long version. It is generated dynamically, so don't change its
# value! Change TP_QT_ABI_VERSION and TP_QT_*_VERSION instead.
if (${TP_QT_NANO_VERSION} EQUAL 0)
diff --git a/TelepathyQt/CMakeLists.txt b/TelepathyQt/CMakeLists.txt
index 3217afdd..c827c08d 100644
--- a/TelepathyQt/CMakeLists.txt
+++ b/TelepathyQt/CMakeLists.txt
@@ -981,7 +981,7 @@ if(ENABLE_SERVICE_SUPPORT)
# Set the correct version number
set_target_properties(telepathy-qt${QT_VERSION_MAJOR}-service PROPERTIES
- SOVERSION ${TP_QT_ABI_VERSION}
+ SOVERSION ${TP_QT_SERVICE_ABI_VERSION}
VERSION ${TP_QT_LIBRARY_VERSION})
# Install the library - watch out for the correct components