sourcey / libsourcey

C++14 evented IO libraries for high performance networking and media based applications
https://sourcey.com/libsourcey
GNU Lesser General Public License v2.1
1.32k stars 349 forks source link

Build with FFMPEG on Apple #106

Closed normano closed 7 years ago

normano commented 7 years ago

find_component was defaulting to pkgconfig, which is great, but it means that it did not respect my hints for FFMPEG custom build. I'm sure this can be re-orderable using a optional flag.

Another of my issues was with Find_FFmpeg having a bunch of commented out code, so variables would not get filled out. I also added a FFMPEGDIR option so that a user can specify a root directory in case the defaults do not exist.

I also removed QTKit from the linker flags.

I added a messageV macro in order to print messages only with -DMSG_VERSBOSE=ON, maybe there is a better way. This is useful to print out the status messages of the find results to make sure the correct lib is being used.

auscaster commented 7 years ago

Nice approach to adding verbose build output. Code looks good and tests pass, will merge it in - thanks!