summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-10-26 09:52:39 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2017-10-26 09:52:39 +0200
commit022c01767829d78b8c4498987128666a6031004e (patch)
treee0a778c0feea15ca0a0427235ad6aa51d8ef947d
parent5e5eb5cdf5684ab47d9d4e91833ed27e29215479 (diff)
Add version to librarysandbox/claneys/hmi-framework
Change-Id: I44613239e707871ffd8c5c9e4e0b00562ea45a92 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
-rw-r--r--src/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 1a34347..220ded9 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -27,6 +27,10 @@ link_libraries(-Wl,--as-needed -Wl,--gc-sections -Wl,--no-undefined)
add_library(${TARGET_LIBSM} SHARED ${libsm_sources})
target_compile_options(${TARGET_LIBSM} PUBLIC ${libsm_depends_CFLAGS})
+set_target_properties(${TARGET_LIBSM}
+ PROPERTIES
+ VERSION ${PROJECT_VERSION}
+ )
if(DEFINED DEBUGMODE)
target_compile_options(${TARGET_LIBSM} PRIVATE -g -O0)