From d01577e833207df33de8724d0e6fc4b58fcf624e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Tue, 10 Mar 2015 23:46:16 +0100 Subject: [PATCH] Add shared library versioning --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index c1595de..c503d17 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,6 +16,9 @@ set(libHPCS_SRCS libhpcs.c) add_library(HPCS SHARED ${libHPCS_SRCS}) +set_target_properties(HPCS + PROPERTIES VERSION 1.0 + SOVERSION 1.0) if (${BuildTestTool}) set(libHPCS_test_SRCS -- 2.43.5