aboutsummaryrefslogtreecommitdiffstats
path: root/mpm/CMakeLists.txt
diff options
context:
space:
mode:
authorMoritz Fischer <moritz.fischer@ettus.com>2017-05-05 15:39:13 -0700
committerMartin Braun <martin.braun@ettus.com>2017-12-22 15:03:53 -0800
commit8b111dd123110907c257365ec298b195f95c4833 (patch)
treee74c9fb8e341200104ab7c2c60a76a0c0bb5026e /mpm/CMakeLists.txt
parentdfb1b95686dc516e4cd874d86c39a750a3023c91 (diff)
downloaduhd-8b111dd123110907c257365ec298b195f95c4833.tar.gz
uhd-8b111dd123110907c257365ec298b195f95c4833.tar.bz2
uhd-8b111dd123110907c257365ec298b195f95c4833.zip
mpm: libusrp-periphs: Add SOVERSION and VERSION
Signed-off-by: Moritz Fischer <moritz.fischer@ettus.com>
Diffstat (limited to 'mpm/CMakeLists.txt')
-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)