mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-10-12 13:31:04 -04:00
Fix build for openSUSE
Use qmake built-in pkgconfig functionality
This commit is contained in:
parent
22816f0b9e
commit
484edc3445
1 changed files with 6 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue