From 484edc3445467d47dc935ca9ac62f79aff05563a Mon Sep 17 00:00:00 2001 From: AsamK Date: Fri, 4 Sep 2015 15:46:00 +0200 Subject: [PATCH] Fix build for openSUSE Use qmake built-in pkgconfig functionality --- plugins/VOIP/VOIP.pro | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/VOIP/VOIP.pro b/plugins/VOIP/VOIP.pro index 660a17221..f8531bc5e 100644 --- a/plugins/VOIP/VOIP.pro +++ b/plugins/VOIP/VOIP.pro @@ -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 {