Fix build for openSUSE

Use qmake built-in pkgconfig functionality
This commit is contained in:
AsamK 2015-09-04 15:46:00 +02:00
parent 22816f0b9e
commit 484edc3445

View File

@ -19,8 +19,12 @@ INCLUDEPATH += ../../retroshare-gui/src/temp/ui ../../libretroshare/src
#################################### Windows ##################################### #################################### Windows #####################################
linux-* { linux-* {
INCLUDEPATH += /usr/include CONFIG += link_pkgconfig
LIBS += $$system(pkg-config --libs opencv)
# Necessary for openSUSE
PKGCONFIG += libavcodec libavutil
PKGCONFIG += opencv
} }
win32 { win32 {