9a84feddda
initial package for airspyhf OBS-URL: https://build.opensuse.org/request/show/511050 OBS-URL: https://build.opensuse.org/package/show/hardware:sdr/airspyhf?expand=0&rev=1
14 lines
584 B
Diff
14 lines
584 B
Diff
diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt
|
|
index 2ab698b..21be9ed 100644
|
|
--- a/libairspyhf/src/CMakeLists.txt
|
|
+++ b/libairspyhf/src/CMakeLists.txt
|
|
@@ -63,7 +63,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} )
|