Use pkg-config on all the non-Mac Unices

Make use of pkg-config to link to the ffmpeg libraries on all the Unix
platforms other than Mac (instead of Linux only).  This fixes the
builing on those platforms.
This commit is contained in:
Pino Toscano
2018-12-25 23:26:13 +01:00
parent f116f9a4f6
commit 6d34acbf32
+1 -1
View File
@@ -205,7 +205,7 @@ mac {
INCLUDEPATH = /usr/local/include
}
linux {
unix:!mac {
CONFIG += link_pkgconfig
PKGCONFIG += libavutil libavformat libavcodec libavfilter libswscale libswresample
}