Use pkg-config to find libusb and protobuf (Trezor dependencies)

This commit is contained in:
Pavol Rusnak 2019-04-10 22:10:32 +02:00
parent d2c47606ca
commit 34fdfcb458
No known key found for this signature in database
GPG key ID: 91F3B339B9A02A3D

View file

@ -10,6 +10,12 @@ QT += qml quick widgets
WALLET_ROOT=$$PWD/monero
CONFIG += c++11 link_pkgconfig
packagesExist(libusb-1.0) {
PKGCONFIG += libusb-1.0
}
packagesExist(protobuf) {
PKGCONFIG += protobuf
}
packagesExist(hidapi-libusb) {
PKGCONFIG += hidapi-libusb
}