mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-10 04:37:37 +01:00
link applications to shared library
This saves space on low-memory devices. Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
4031d6ed04
commit
b136a5ae9e
@ -67,15 +67,15 @@ endif()
|
||||
add_executable(rtl_sdr rtl_sdr.c)
|
||||
add_executable(rtl_tcp rtl_tcp.c)
|
||||
add_executable(rtl_test rtl_test.c)
|
||||
target_link_libraries(rtl_sdr rtlsdr_static
|
||||
target_link_libraries(rtl_sdr rtlsdr_shared
|
||||
${LIBUSB_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
target_link_libraries(rtl_tcp rtlsdr_static
|
||||
target_link_libraries(rtl_tcp rtlsdr_shared
|
||||
${LIBUSB_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
target_link_libraries(rtl_test rtlsdr_static
|
||||
target_link_libraries(rtl_test rtlsdr_shared
|
||||
${LIBUSB_LIBRARIES}
|
||||
${CMAKE_THREAD_LIBS_INIT}
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user