From bf11e229a0a8ccd3caacf902f83650001b7714bd Mon Sep 17 00:00:00 2001 From: Vitaly Zaitsev Date: Mon, 6 Jan 2020 13:59:36 +0100 Subject: Export correct ABI version for shared library. Signed-off-by: Vitaly Zaitsev --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) 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") -- cgit v1.2.3