diff --git a/CMakeLists.txt b/CMakeLists.txt index f27ba3c4b..d08af9382 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -156,6 +156,7 @@ if(NOT ANDROID) pkg_config_library(BLUEZ bluez REQUIRED) endif() pkg_config_library(LIBUSB libusb-1.0 QUIET) + pkg_config_library(LIBMTP libmtp QUIET) endif() include_directories(. @@ -284,7 +285,7 @@ if(NOT ANDROID) endif() #set up the subsurface_link_libraries variable -set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} ${LIBUSB_LIBRARIES}) +set(SUBSURFACE_LINK_LIBRARIES ${SUBSURFACE_LINK_LIBRARIES} ${LIBDIVECOMPUTER_LIBRARIES} ${LIBGIT2_LIBRARIES} ${LIBUSB_LIBRARIES} ${LIBMTP_LIBRARIES}) qt5_add_resources(SUBSURFACE_RESOURCES subsurface.qrc map-widget/qml/map-widget.qrc) # hack to build successfully on LGTM diff --git a/libdivecomputer b/libdivecomputer index 0ebd5d387..3a300a6a8 160000 --- a/libdivecomputer +++ b/libdivecomputer @@ -1 +1 @@ -Subproject commit 0ebd5d3879854206cd1cf0272e6c357004b33727 +Subproject commit 3a300a6a8ff81665463e0172e3fc5e0bcc92ec65