mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-14 23:34:08 +00:00
deps-libff: Fix mingw using wrong pthread header
When compiling under mingw it was using the w32-pthreads instead of the shared mingw pthread library.
This commit is contained in:
parent
54baa1a369
commit
e868af285e
4
deps/libff/CMakeLists.txt
vendored
4
deps/libff/CMakeLists.txt
vendored
|
@ -6,10 +6,10 @@ find_package(FFMpeg REQUIRED
|
|||
|
||||
include_directories(${FFMPEG_INCLUDE_DIRS})
|
||||
|
||||
if(WIN32)
|
||||
if(WIN32 AND NOT MINGW)
|
||||
include_directories(../w32-pthreads)
|
||||
add_definitions(-Dinline=__inline)
|
||||
endif(WIN32)
|
||||
endif(WIN32 AND NOT MINGW)
|
||||
|
||||
set(libff_HEADERS
|
||||
libff/ff-callbacks.h
|
||||
|
|
Loading…
Reference in a new issue