From 36e0e425585933ff77c0887dd9b1978e6df43041 Mon Sep 17 00:00:00 2001 From: Paul Sutton Date: Fri, 29 Jan 2016 15:00:47 +0000 Subject: [PATCH] Adding library version numbers --- srslte/lib/CMakeLists.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/srslte/lib/CMakeLists.txt b/srslte/lib/CMakeLists.txt index cac4c4b89..1b2cc2aa3 100644 --- a/srslte/lib/CMakeLists.txt +++ b/srslte/lib/CMakeLists.txt @@ -68,6 +68,9 @@ ENDFOREACH() ADD_LIBRARY(srslte SHARED ${SOURCES_ALL}) TARGET_LINK_LIBRARIES(srslte m ${FFTW3F_LIBRARIES}) +SET_TARGET_PROPERTIES(srslte + PROPERTIES VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR} +) IF(RF_FOUND) # Include common RF files @@ -88,6 +91,9 @@ IF(RF_FOUND) ENDIF (BLADERF_FOUND) ADD_LIBRARY(srslte_rf SHARED ${SOURCES_RF}) + SET_TARGET_PROPERTIES(srslte_rf + PROPERTIES VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR} + ) IF (UHD_FOUND) TARGET_LINK_LIBRARIES(srslte_rf ${UHD_LIBRARIES})