Adding library version numbers

master
Paul Sutton 9 years ago
parent 0e8107cf71
commit 36e0e42558

@ -68,6 +68,9 @@ ENDFOREACH()
ADD_LIBRARY(srslte SHARED ${SOURCES_ALL}) ADD_LIBRARY(srslte SHARED ${SOURCES_ALL})
TARGET_LINK_LIBRARIES(srslte m ${FFTW3F_LIBRARIES}) TARGET_LINK_LIBRARIES(srslte m ${FFTW3F_LIBRARIES})
SET_TARGET_PROPERTIES(srslte
PROPERTIES VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR}
)
IF(RF_FOUND) IF(RF_FOUND)
# Include common RF files # Include common RF files
@ -88,6 +91,9 @@ IF(RF_FOUND)
ENDIF (BLADERF_FOUND) ENDIF (BLADERF_FOUND)
ADD_LIBRARY(srslte_rf SHARED ${SOURCES_RF}) ADD_LIBRARY(srslte_rf SHARED ${SOURCES_RF})
SET_TARGET_PROPERTIES(srslte_rf
PROPERTIES VERSION ${SRSLTE_VERSION_MAJOR}.${SRSLTE_VERSION_MINOR}
)
IF (UHD_FOUND) IF (UHD_FOUND)
TARGET_LINK_LIBRARIES(srslte_rf ${UHD_LIBRARIES}) TARGET_LINK_LIBRARIES(srslte_rf ${UHD_LIBRARIES})

Loading…
Cancel
Save