summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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)