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:
kc5nra 2015-03-23 21:10:04 -05:00
parent 54baa1a369
commit e868af285e

View file

@ -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