From 34fdfcb458757d61b7c772f0649da083b9f05167 Mon Sep 17 00:00:00 2001 From: Pavol Rusnak Date: Wed, 10 Apr 2019 22:10:32 +0200 Subject: [PATCH] Use pkg-config to find libusb and protobuf (Trezor dependencies) --- monero-wallet-gui.pro | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/monero-wallet-gui.pro b/monero-wallet-gui.pro index 5a4cc37d..b614279f 100644 --- a/monero-wallet-gui.pro +++ b/monero-wallet-gui.pro @@ -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 }