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

pull/2/head
Pavol Rusnak 5 years ago
parent d2c47606ca
commit 34fdfcb458
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D

@ -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
}