diff options
author | Dimitri Stolnikov <horiz0n@gmx.net> | 2012-04-03 20:11:53 +0200 |
---|---|---|
committer | Steve Markgraf <steve@steve-m.de> | 2012-04-03 20:18:24 +0200 |
commit | d2355cfd916f4a093da1392ed1cde024cfc872fa (patch) | |
tree | 973c87c37a4deb1172b8103f955c8ecd0775c50d /src/CMakeLists.txt | |
parent | f13cf0e56c18c76c77417ae1004d5cfab0f1d210 (diff) |
install utility as well
Signed-off-by: Steve Markgraf <steve@steve-m.de>
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 2abbb90..8ea53db 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -53,14 +53,6 @@ if(NOT WIN32) # Force same library filename for static and shared variants of the library set_target_properties(rtlsdr_static PROPERTIES OUTPUT_NAME rtlsdr) endif() -######################################################################## -# Install built library files -######################################################################## -install(TARGETS rtlsdr_shared rtlsdr_static - LIBRARY DESTINATION lib${LIB_SUFFIX} # .so/.dylib file - ARCHIVE DESTINATION lib${LIB_SUFFIX} # .lib file - RUNTIME DESTINATION bin # .dll file -) ######################################################################## # Build utility @@ -70,3 +62,12 @@ target_link_libraries(rtl_sdr rtlsdr_static ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ) + +######################################################################## +# Install built library files & utilities +######################################################################## +install(TARGETS rtlsdr_shared rtlsdr_static rtl_sdr + LIBRARY DESTINATION lib${LIB_SUFFIX} # .so/.dylib file + ARCHIVE DESTINATION lib${LIB_SUFFIX} # .lib file + RUNTIME DESTINATION bin # .dll file +) |