diff options
author | Josh Blum <josh@joshknows.com> | 2011-02-16 17:19:32 -0800 |
---|---|---|
committer | Josh Blum <josh@joshknows.com> | 2011-02-16 17:19:32 -0800 |
commit | 8878b35d596e2f4db8b3e0189adfcaee81c8300f (patch) | |
tree | 66fe24df49ce9d9db83a1cccf5fea1df27fa3abb /host | |
parent | ee0f8cf34cddae91559fa18ac9c96b3590a8c746 (diff) | |
download | uhd-8878b35d596e2f4db8b3e0189adfcaee81c8300f.tar.gz uhd-8878b35d596e2f4db8b3e0189adfcaee81c8300f.tar.bz2 uhd-8878b35d596e2f4db8b3e0189adfcaee81c8300f.zip |
uhd: optional variable to specify a non-default name for uhd library
Diffstat (limited to 'host')
-rw-r--r-- | host/lib/CMakeLists.txt | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/host/lib/CMakeLists.txt b/host/lib/CMakeLists.txt index d2845ffda..c8a5dd51e 100644 --- a/host/lib/CMakeLists.txt +++ b/host/lib/CMakeLists.txt @@ -108,6 +108,9 @@ 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}) +IF(DEFINED LIBUHD_OUTPUT_NAME) + SET_TARGET_PROPERTIES(uhd PROPERTIES OUTPUT_NAME ${LIBUHD_OUTPUT_NAME}) +ENDIF(DEFINED LIBUHD_OUTPUT_NAME) INSTALL(TARGETS uhd LIBRARY DESTINATION ${LIBRARY_DIR} # .so file |