2017-07-18 08:26:49 +02:00
|
|
|
diff --git a/libairspyhf/src/CMakeLists.txt b/libairspyhf/src/CMakeLists.txt
|
2020-04-10 08:10:47 +02:00
|
|
|
index 9d8d483..da1f966 100644
|
2017-07-18 08:26:49 +02:00
|
|
|
--- a/libairspyhf/src/CMakeLists.txt
|
|
|
|
+++ b/libairspyhf/src/CMakeLists.txt
|
2020-04-10 08:10:47 +02:00
|
|
|
@@ -58,7 +58,7 @@ set_target_properties(airspyhf PROPERTIES CLEAN_DIRECT_OUTPUT 1)
|
2017-07-18 08:26:49 +02:00
|
|
|
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)
|
2020-04-10 08:10:47 +02:00
|
|
|
|
2017-07-18 08:26:49 +02:00
|
|
|
# For cygwin just force UNIX OFF and WIN32 ON
|
|
|
|
if( ${CYGWIN} )
|