summaryrefslogtreecommitdiffstats
path: root/subsurface-configure.pri
diff options
context:
space:
mode:
Diffstat (limited to 'subsurface-configure.pri')
-rw-r--r--subsurface-configure.pri5
1 files changed, 0 insertions, 5 deletions
diff --git a/subsurface-configure.pri b/subsurface-configure.pri
index 045c9b14f..d75af3c86 100644
--- a/subsurface-configure.pri
+++ b/subsurface-configure.pri
@@ -42,11 +42,6 @@ PKG_CONFIG_OUT = $$system(pkg-config --version 2> $$NUL)
# find it next to our sources
INCLUDEPATH += ../libdivecomputer/include
LIBS += ../libdivecomputer/src/.libs/libdivecomputer.a
- # Libusb-1.0 is only required if libdivecomputer was built with it.
- # And libdivecomputer is only built with it if libusb-1.0 is
- # installed. So get libusb if it exists, but don't complain
- # about it if it doesn't.
- LIBS += $$system(pkg-config --libs libusb-1.0 2> /dev/null)
} else:exists(/usr/local/lib/libdivecomputer.a) {
LIBS += /usr/local/lib/libdivecomputer.a
} else:exists(/usr/local/lib64/libdivecomputer.a) {