mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-08-02 11:16:34 -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 #####################################
|
||||
|
||||
linux-* {
|
||||
INCLUDEPATH += /usr/include
|
||||
LIBS += $$system(pkg-config --libs opencv)
|
||||
CONFIG += link_pkgconfig
|
||||
|
||||
# Necessary for openSUSE
|
||||
PKGCONFIG += libavcodec libavutil
|
||||
|
||||
PKGCONFIG += opencv
|
||||
}
|
||||
|
||||
win32 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue