From 09eac4ae152d24a5c897952ad201d520b0f471f5 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 1 Jul 2013 09:16:14 +0200 Subject: cmake: Set library version. --- src/CMakeLists.txt | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src') diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 96b6cd1..bdbe890 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -12,3 +12,12 @@ install( LIBRARY DESTINATION ${LIB_INSTALL_DIR} ARCHIVE DESTINATION ${LIB_INSTALL_DIR} ) + +set_target_properties( + socket_wrapper + PROPERTIES + VERSION + ${LIBRARY_VERSION} + SOVERSION + ${LIBRARY_SOVERSION} +) -- cgit