From ab8ac8570526fe9f8696045582ea93b4067b89e9 Mon Sep 17 00:00:00 2001 From: Matthias Vogelgesang Date: Thu, 15 Dec 2011 09:40:24 +0100 Subject: Add: soname --- src/CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/CMakeLists.txt') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9f7e9e8..cf736a1 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -115,6 +115,10 @@ include_directories( add_definitions("-std=c99 -Wall") add_library(uca SHARED ${uca_SRCS}) +set_target_properties(uca PROPERTIES + VERSION ${UCA_ABI_VERSION} + SOVERSION ${UCA_ABI_MAJOR_VERSION}) + target_link_libraries(uca ${uca_LIBS}) # --- Install target ---------------------------------------------------------- -- cgit v1.2.3