Permalink
Browse files

Use pkg-config for libcommon dependencies

libcommon depends on external libraries.  Use pkg-config so the relevant
header directories get included.

Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
  • Loading branch information...
stefanha committed Jan 16, 2017
1 parent ad844e5 commit 444cb967d11d2dcb7b045ebc208e28230784eae9
Showing with 2 additions and 5 deletions.
  1. +2 −5 common/common.pro
View
@@ -3,12 +3,9 @@ CONFIG += staticlib
QT += network
QT -= gui
# For third-party library headers from Homebrew
mac {
INCLUDEPATH += /usr/local/include
}
QMAKE_CXXFLAGS += -Wno-write-strings
CONFIG += link_pkgconfig
PKGCONFIG += ogg vorbis vorbisenc portaudio-2.0
SOURCES = mpb.cpp \
netmsg.cpp \
njclient.cpp \

0 comments on commit 444cb96

Please sign in to comment.