diff options
author | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2017-10-26 17:17:25 +0900 |
---|---|---|
committer | Kazumasa Mitsunari <knimitz@witz-inc.co.jp> | 2017-10-30 05:01:01 +0000 |
commit | bdd3bd8d14d51b9153a532411a5e9d439d0cb2e5 (patch) | |
tree | 8b126a36fb33492f68a03fb5215e90433eccfeca /src/CMakeLists.txt | |
parent | a3e101c1f05e8135ec4e91cea783b61db50c9442 (diff) |
Add a version to the library
To prevent a bitbake package_qa issue, adding version is necessary.
So I added a version number of 0.1.0.
Bug-AGL : SPEC-1001
Change-Id: Ia0d133122d6287753cc92e645f39e327f206f320
Signed-off-by: Kazumasa Mitsunari <knimitz@witz-inc.co.jp>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1a34347..21754ee 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -37,6 +37,11 @@ endif(DEFINED DEBUGMODE) include_directories(${TARGET_LIBSM} ${libsm_depends_INCLUDE_DIRS}) target_link_libraries(${TARGET_LIBSM} afbwsc ${link_libraries} ${libsm_depends_LIBRARIES}) +set_target_properties(${TARGET_LIBSM} + PROPERTIES + VERSION ${PROJECT_VERSION} +) + if(DEFINED CMAKE_INSTALL_LIBDIR) INSTALL(TARGETS ${TARGET_LIBSM} LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}) |