diff options
author | Oleg Morozenkov <m@oleg.rocks> | 2020-03-11 21:33:54 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 21:33:54 +0300 |
commit | ff8457e43a5dde35f5f56bc003a08a2b3eb50abd (patch) | |
tree | 851ac3b8f83afbad551929f79413cdfa8a08dd86 /CMakeLists.txt | |
parent | 2e4544a1f9aab5994ca81a6d95bd9fe3436d7a31 (diff) | |
parent | bf11e229a0a8ccd3caacf902f83650001b7714bd (diff) |
Merge pull request #124 from xvitaly/add-soversion
Added SOVERSION field for shared library
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") |