From bdd3bd8d14d51b9153a532411a5e9d439d0cb2e5 Mon Sep 17 00:00:00 2001 From: Kazumasa Mitsunari Date: Thu, 26 Oct 2017 17:17:25 +0900 Subject: 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 --- src/CMakeLists.txt | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src') 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}) -- cgit 1.2.3-korg