mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-12-26 02:48:31 +01:00
Fix building librtlsdr on OpenBSD
Gets rid of librt, which doesn't exist on OpenBSD. The version of librtlsdr in the OpenBSD ports tree is extremely old (~2013), so this should help some users. Tested against tag 0.6.0, but it should apply just fine to HEAD.
This commit is contained in:
parent
3c263b7451
commit
9d05150a64
@ -125,7 +125,7 @@ if(UNIX)
|
||||
target_link_libraries(rtl_fm m)
|
||||
target_link_libraries(rtl_adsb m)
|
||||
target_link_libraries(rtl_power m)
|
||||
if(APPLE)
|
||||
if(APPLE OR CMAKE_SYSTEM MATCHES "OpenBSD")
|
||||
target_link_libraries(rtl_test m)
|
||||
else()
|
||||
target_link_libraries(rtl_test m rt)
|
||||
|
Loading…
Reference in New Issue
Block a user