mirror of
https://github.com/monero-project/monero-gui.git
synced 2024-12-23 12:09:57 +00:00
Use pkg-config to find libusb and protobuf (Trezor dependencies)
This commit is contained in:
parent
d2c47606ca
commit
34fdfcb458
1 changed files with 6 additions and 0 deletions
|
@ -10,6 +10,12 @@ QT += qml quick widgets
|
||||||
WALLET_ROOT=$$PWD/monero
|
WALLET_ROOT=$$PWD/monero
|
||||||
|
|
||||||
CONFIG += c++11 link_pkgconfig
|
CONFIG += c++11 link_pkgconfig
|
||||||
|
packagesExist(libusb-1.0) {
|
||||||
|
PKGCONFIG += libusb-1.0
|
||||||
|
}
|
||||||
|
packagesExist(protobuf) {
|
||||||
|
PKGCONFIG += protobuf
|
||||||
|
}
|
||||||
packagesExist(hidapi-libusb) {
|
packagesExist(hidapi-libusb) {
|
||||||
PKGCONFIG += hidapi-libusb
|
PKGCONFIG += hidapi-libusb
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue