mirror of
https://github.com/rtlsdrblog/rtl-sdr-blog.git
synced 2024-11-10 04:37:37 +01:00
Fix build with MinGW
Signed-off-by: Steve Markgraf <steve@steve-m.de>
This commit is contained in:
parent
d93819d29d
commit
326b0e3acc
@ -65,7 +65,9 @@ endif()
|
||||
########################################################################
|
||||
find_package(PkgConfig)
|
||||
find_package(LibUSB)
|
||||
set(THREADS_USE_PTHREADS_WIN32 true)
|
||||
if(WIN32 AND NOT MINGW)
|
||||
set(THREADS_USE_PTHREADS_WIN32 true)
|
||||
endif()
|
||||
find_package(Threads)
|
||||
|
||||
if(NOT LIBUSB_FOUND)
|
||||
|
Loading…
Reference in New Issue
Block a user