diff options
author | Vitaly Zaitsev <vitaly@easycoding.org> | 2020-01-06 13:59:36 +0100 |
---|---|---|
committer | Vitaly Zaitsev <vitaly@easycoding.org> | 2020-01-06 13:59:36 +0100 |
commit | bf11e229a0a8ccd3caacf902f83650001b7714bd (patch) | |
tree | 851ac3b8f83afbad551929f79413cdfa8a08dd86 /CMakeLists.txt | |
parent | 2e4544a1f9aab5994ca81a6d95bd9fe3436d7a31 (diff) |
Export correct ABI version for shared library.
Signed-off-by: Vitaly Zaitsev <vitaly@easycoding.org>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 3 |
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") |