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})