mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-18 03:52:11 +01:00
OP-958: adding clearer message regarding the requirement for libusb-1.0.0 dev package:
- break the build nicely telling the user to install the dev library package.
This commit is contained in:
parent
3ec742f540
commit
4b68c6da74
@ -53,7 +53,9 @@ linux-g++ {
|
||||
LIBS += `pkg-config libusb-1.0 --libs` -lrt -lpthread
|
||||
INCLUDEPATH += /usr/include/libusb-1.0
|
||||
# INCLUDEPATH += `pkg-config libusb-1.0 --cflags`
|
||||
|
||||
!exists(/usr/include/libusb-1.0) {
|
||||
error(Install libusb-1.0.0-dev using your package manager.)
|
||||
}
|
||||
}
|
||||
linux-g++-64 {
|
||||
SOURCES += src/opHID_usbmon_linux.cpp
|
||||
@ -67,6 +69,8 @@ linux-g++-64 {
|
||||
LIBS += `pkg-config libusb-1.0 --libs` -lrt -lpthread
|
||||
INCLUDEPATH += /usr/include/libusb-1.0
|
||||
# INCLUDEPATH += `pkg-config libusb-1.0 --cflags`
|
||||
|
||||
!exists(/usr/include/libusb-1.0) {
|
||||
error(Install libusb-1.0.0-dev using your package manager.)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user