summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaly Zaitsev <vitaly@easycoding.org>2020-01-06 13:59:36 +0100
committerVitaly Zaitsev <vitaly@easycoding.org>2020-01-06 13:59:36 +0100
commitbf11e229a0a8ccd3caacf902f83650001b7714bd (patch)
tree851ac3b8f83afbad551929f79413cdfa8a08dd86
parent2e4544a1f9aab5994ca81a6d95bd9fe3436d7a31 (diff)
Export correct ABI version for shared library.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
-rw-r--r--CMakeLists.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 1759746..606c7de 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -75,6 +75,9 @@ install(TARGETS ${PROJECT_NAME}
install(DIRECTORY include/ DESTINATION include)
set_property(TARGET ${PROJECT_NAME} PROPERTY POSITION_INDEPENDENT_CODE ON)
+# ABI version
+set_property(TARGET ${PROJECT_NAME} PROPERTY SOVERSION 1)
+
# tests
if (ENABLE_TESTS)
message(STATUS "Building of tests is enabled")