Librador builds on mac (not sure if it works?)

This commit is contained in:
Chris Esposito 2019-01-30 18:37:49 +11:00
parent 4bafdc1a67
commit fd406399c5
1 changed files with 15 additions and 0 deletions

View File

@ -61,3 +61,18 @@ unix:!android:!macx {
PLATFORM_LINUX \
}
macx {
#libusb include
LIBS += -L../../../Desktop_Interface/build_mac/libusb/lib -lusb-1.0 ##I suspect the -L here does nothing!
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
DEPENDPATH += ../../../Desktop_Interface/build_mac/libusb/include/libusb-1.0
#libdfuprog include
LIBS += -L../../../Desktop_Interface/build_mac/libdfuprog/lib -ldfuprog-0.9
INCLUDEPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
DEPENDPATH += ../../../Desktop_Interface/build_mac/libdfuprog/include
#linux defines
DEFINES += \
PLATFORM_MAC \
}