summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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 /CMakeLists.txt
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 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index a49952e..124f127 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,7 +19,10 @@ project(libsoundmanager CXX)
cmake_minimum_required(VERSION 2.8)
set(PROJECT_NAME "Soundmanager client library")
-set(PROJECT_VERSION "0.1.0")
+set(MAJOR_VERSION "0")
+set(MINER_VERSION "1")
+set(PATCH_VERSION "1")
+set(PROJECT_VERSION ${MAJOR_VERSION}.${MINER_VERSION}.${PATCH_VERSION})
set(PROJECT_PRETTY_NAME "libsm")
set(PROJECT_INCLUDEDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_INCLUDEDIR})
set(PROJECT_LIBDIR ${CMAKE_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR})