SHA256
1
0
forked from pool/airspyhf
airspyhf/airspyhf-fix-libm-linking.patch
Martin Pluskal f241323e75 Accepting request 792792 from home:mnhauke:sdr-devel
- Update to version 1.6.8
  * add airspyhf_* tools
- Update patch
  * libairspyhf/src/CMakeLists.txt

OBS-URL: https://build.opensuse.org/request/show/792792
OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/airspyhf?expand=0&rev=13
2020-04-10 06:10:47 +00:00

14 lines
581 B
Diff

diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt
index 9d8d483..da1f966 100644
--- a/libairspyhf/src/CMakeLists.txt
+++ b/libairspyhf/src/CMakeLists.txt
@@ -58,7 +58,7 @@ set_target_properties(airspyhf PROPERTIES CLEAN_DIRECT_OUTPUT 1)
set_target_properties(airspyhf-static PROPERTIES CLEAN_DIRECT_OUTPUT 1)
# Dependencies
-target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})
+target_link_libraries(airspyhf ${LIBUSB_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} m)
# For cygwin just force UNIX OFF and WIN32 ON
if( ${CYGWIN} )