summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-10-26 16:21:05 +0900
committerKazumasa Mitsunari <knimitz@witz-inc.co.jp>2017-11-02 01:26:58 +0000
commitb6f0140e194b80fa01b39f20dbff3d436dc2e792 (patch)
tree3de4bcfe14561be9f5d2658b5bc4ac8883a7a766
parentb10e52f09b7e7c6d2c7272087e2c245adf2e90df (diff)
Use a version for the library
To prevent bitbake package_qa issue, adding version is necessary. So I added a version number of 0.1.0. Bug-AGL : SPEC-1000 Change-Id: Ic7a22fe04cdab3d323ca75f9292a09ec29fd6d07 Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
-rw-r--r--CMakeLists.txt4
-rw-r--r--src/CMakeLists.txt1
2 files changed, 3 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e25b271..ba11f5a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -19,8 +19,8 @@ cmake_minimum_required(VERSION 2.8)
project(WindowManagerTMC)
set(PACKAGE_VERSION_MAJOR 0)
-set(PACKAGE_VERSION_MINOR 0)
-set(PACKAGE_VERSION_REVISION 1)
+set(PACKAGE_VERSION_MINOR 1)
+set(PACKAGE_VERSION_REVISION 0)
set(PACKAGE_VERSION "${PACKAGE_VERSION_MAJOR}.${PACKAGE_VERSION_MINOR}.${PACKAGE_VERSION_REVISION}")
find_package(PkgConfig REQUIRED)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 96cad55..9052d70 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -51,6 +51,7 @@ set_target_properties(${TARGET_LIBWM}
# INTERPROCEDURAL_OPTIMIZATION ON
CXX_EXTENSIONS OFF
CXX_STANDARD 14
+ VERSION ${PACKAGE_VERSION}
CXX_STANDARD_REQUIRED ON)
if (LINK_LIBCXX)