diff --git a/QGCExternalLibs.pri b/QGCExternalLibs.pri index e701b9878d59a8de0409dc0348ced5e0652788d3..004d42801971cac0ddc329a2b970f3b7fef9979c 100644 --- a/QGCExternalLibs.pri +++ b/QGCExternalLibs.pri @@ -337,30 +337,6 @@ LinuxBuild : contains(MAVLINK_DIALECT, pixhawk) { message("Skipping support for Protocol Buffers (unsupported platform)") } -# -# [OPTIONAL] Kinect support using libfreenect on POSIX systems. -# -contains(DEFINES, DISABLE_KINECT) { - message("Skipping support for the Kinect (manual override from command line)") - DEFINES -= DISABLE_KINECT -# Otherwise the user can still disable this feature in the user_config.pri file. -} else:infile(user_config.pri, DEFINES, DISABLE_KINECT) { - message("Skipping support for the Kinext (manual override from user_config.pri)") -} else:MacBuild | LinuxBuild { - exists(/opt/local/include/libfreenect) | exists(/usr/local/include/libfreenect) { - message("Including support for the Kinect") - - DEFINES += QGC_LIBFREENECT_ENABLED - LIBS += -lfreenect - HEADERS += src/input/Freenect.h - SOURCES += src/input/Freenect.cc - } else { - warning("Skipping support for the Kinect (missing libraries, see README)") - } -} else { - message("Skipping support for the Kinect (unsupported platform)") -} - # # [REQUIRED] EIGEN matrix library # NOMINMAX constant required to make internal min/max work.