aboutsummaryrefslogtreecommitdiffstats
path: root/host/lib
diff options
context:
space:
mode:
authorJosh Blum <josh@joshknows.com>2011-03-27 05:03:39 -0700
committerJosh Blum <josh@joshknows.com>2011-03-27 05:03:39 -0700
commitd078d4f5d17088b9f366c62f5b3eca7b167e665c (patch)
tree41eee568855967602bd63b7e0d6d26e3cf51d751 /host/lib
parentf5390d04229572b3d342f910e731e2b9dccf8505 (diff)
downloaduhd-d078d4f5d17088b9f366c62f5b3eca7b167e665c.tar.gz
uhd-d078d4f5d17088b9f366c62f5b3eca7b167e665c.tar.bz2
uhd-d078d4f5d17088b9f366c62f5b3eca7b167e665c.zip
uhd: work on versioning technique for the releases
Diffstat (limited to 'host/lib')
-rw-r--r--host/lib/CMakeLists.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt
index a30b380c4..cb75979e8 100644
--- a/host/lib/CMakeLists.txt
+++ b/host/lib/CMakeLists.txt
@@ -112,7 +112,8 @@ LIBUHD_APPEND_SOURCES(
ADD_LIBRARY(uhd SHARED ${libuhd_sources})
TARGET_LINK_LIBRARIES(uhd ${Boost_LIBRARIES} ${libuhd_libs})
SET_TARGET_PROPERTIES(uhd PROPERTIES DEFINE_SYMBOL "UHD_DLL_EXPORTS")
-SET_TARGET_PROPERTIES(uhd PROPERTIES SOVERSION ${UHD_VERSION_MAJOR})
+SET_TARGET_PROPERTIES(uhd PROPERTIES SOVERSION "${UHD_VERSION_MAJOR}")
+SET_TARGET_PROPERTIES(uhd PROPERTIES VERSION "${UHD_VERSION_MAJOR}.${UHD_VERSION_MINOR}")
IF(DEFINED LIBUHD_OUTPUT_NAME)
SET_TARGET_PROPERTIES(uhd PROPERTIES OUTPUT_NAME ${LIBUHD_OUTPUT_NAME})
ENDIF(DEFINED LIBUHD_OUTPUT_NAME)