From 8b111dd123110907c257365ec298b195f95c4833 Mon Sep 17 00:00:00 2001 From: Moritz Fischer Date: Fri, 5 May 2017 15:39:13 -0700 Subject: mpm: libusrp-periphs: Add SOVERSION and VERSION Signed-off-by: Moritz Fischer --- mpm/CMakeLists.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'mpm') 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) -- cgit v1.2.3