aboutsummaryrefslogtreecommitdiffstats
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 438c3da..9d030a6 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -31,7 +31,8 @@ target_link_libraries(mirisdr_shared
set_target_properties(mirisdr_shared PROPERTIES DEFINE_SYMBOL "mirisdr_EXPORTS")
set_target_properties(mirisdr_shared PROPERTIES OUTPUT_NAME mirisdr)
-set_target_properties(mirisdr_shared PROPERTIES SOVERSION 0 VERSION 0.0.0)
+set_target_properties(mirisdr_shared PROPERTIES SOVERSION ${MAJOR_VERSION})
+set_target_properties(mirisdr_shared PROPERTIES VERSION ${LIBVER})
add_library(mirisdr_static STATIC
libmirisdr.c