aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mpm/CMakeLists.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/mpm/CMakeLists.txt b/mpm/CMakeLists.txt
index 871ba0250..5d89e40f3 100644
--- a/mpm/CMakeLists.txt
+++ b/mpm/CMakeLists.txt
@@ -123,6 +123,13 @@ TARGET_LINK_LIBRARIES(usrp-periphs
${Boost_LIBRARIES}
)
INSTALL(TARGETS usrp-periphs LIBRARY DESTINATION ${LIBRARY_DIR} COMPONENT libraries)
+SET(USRP_PERIPHS_MAJOR 0)
+SET(USRP_PERIPHS_MINOR 1)
+SET(USRP_PERIPHS_PATCH 0)
+SET(USRP_PERIPHS_VERSION ${USRP_PERIPHS_MAJOR}.${USRP_PERIPHS_MINOR}.${USRP_PERIPHS_PATCH})
+
+SET_TARGET_PROPERTIES(usrp-periphs PROPERTIES VERSION ${USRP_PERIPHS_VERSION})
+SET_TARGET_PROPERTIES(usrp-periphs PROPERTIES SOVERSION ${USRP_PERIPHS_MAJOR})
ADD_SUBDIRECTORY(python)
ADD_SUBDIRECTORY(tools)