summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-08 10:31:00 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-12-11 10:25:12 +0900
commit5e3d8a95b13eda43666439ddf9bb8edc83197070 (patch)
treeeae2413f42f28c887121ab380e33fa590ec3cc0d /src
parentcda4a958e85d397bae142fbe6068a3e17d4aa935 (diff)
Add SOVERSION
To contain library itself and symlink to library in the image, add SOVERSION to CMakeList. Change-Id: I3dc7abc8935dbc5848b741cb8833f2155124518c Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src')
-rw-r--r--src/CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 21754ee..c235b81 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -40,6 +40,7 @@ target_link_libraries(${TARGET_LIBSM} afbwsc ${link_libraries} ${libsm_depends_L
set_target_properties(${TARGET_LIBSM}
PROPERTIES
VERSION ${PROJECT_VERSION}
+ SOVERSION ${MAJOR_VERSION}.${MINER_VERSION}
)
if(DEFINED CMAKE_INSTALL_LIBDIR)