Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff -u a/qthid.pro b/qthid.pro
- --- a/qthid.pro 2011-03-12 21:47:58.000000000 +0100
- +++ b/qthid.pro 2012-11-16 23:46:13.567377025 +0100
- @@ -37,7 +37,10 @@
- mac: SOURCES += hidmac.c
- win32: SOURCES += hidwin.cpp
- -linux-g++: SOURCES +=hid-libusb.c
- +
- +linux-g++|linux-g++-64|glibc-g++ {
- + SOURCES +=hid-libusb.c
- +}
- HEADERS += mainwindow.h \
- hidapi.h \
- @@ -50,7 +53,7 @@
- win32:LIBS += "C:\\Program Files\\Microsoft SDKs\\Windows\\v7.0\\Lib\\setupapi.lib"
- # libusb-1.0 on Linux uses pkg-config
- -linux-g++ {
- +linux-g++|linux-g++-64|glibc-g++ {
- CONFIG += link_pkgconfig
- PKGCONFIG += libusb-1.0
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement