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 #####################################
linux-* {
INCLUDEPATH += /usr/include
LIBS += $$system(pkg-config --libs opencv)
CONFIG += link_pkgconfig
# Necessary for openSUSE
PKGCONFIG += libavcodec libavutil
PKGCONFIG += opencv
}
win32 {