diff --git a/qgroundcontrol.pri b/qgroundcontrol.pri index b8de01ef2c5eed70604076078611b90ea8cc267c..ab7144890f4888435eaf62178bb378a771fb7947 100644 --- a/qgroundcontrol.pri +++ b/qgroundcontrol.pri @@ -158,8 +158,9 @@ linux-g++ { } exists(/usr/local/include/libfreenect) { - message("Building support for libfreenect") + message("Building suplocport for libfreenect") DEPENDENCIES_PRESENT += libfreenect + INCLUDEPATH += /usr/include/libusb-1.0 # Include libfreenect libraries LIBS += -lfreenect DEFINES += QGC_LIBFREENECT_ENABLED @@ -229,6 +230,7 @@ linux-g++-64 { exists(/usr/local/include/libfreenect) { message("Building support for libfreenect") DEPENDENCIES_PRESENT += libfreenect + INCLUDEPATH += /usr/include/libusb-1.0 # Include libfreenect libraries LIBS += -lfreenect DEFINES += QGC_LIBFREENECT_ENABLED