diff options
author | malinero <malinero@protonmail.com> | 2021-06-21 19:52:56 +0200 |
---|---|---|
committer | malinero <malinero@protonmail.com> | 2021-06-21 19:52:56 +0200 |
commit | 42b74a37d33d039977b31bbbfaa86a63bbe1119c (patch) | |
tree | be5009556a05f0622e0eb10449e81b5c07535218 /cmake/FindLibUSB.cmake | |
parent | Merge pull request #7697 (diff) | |
download | monero-42b74a37d33d039977b31bbbfaa86a63bbe1119c.tar.xz |
Include Libusb and hidapi on android
Diffstat (limited to '')
-rw-r--r-- | cmake/FindLibUSB.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/FindLibUSB.cmake b/cmake/FindLibUSB.cmake index 79d8fba75..37f699bea 100644 --- a/cmake/FindLibUSB.cmake +++ b/cmake/FindLibUSB.cmake @@ -99,7 +99,7 @@ if ( LibUSB_FOUND ) check_library_exists ( "${LibUSB_LIBRARIES}" libusb_get_device_list "" LibUSB_VERSION_1.0 ) check_library_exists ( "${LibUSB_LIBRARIES}" libusb_get_port_numbers "" LibUSB_VERSION_1.0.16 ) - if((STATIC AND UNIX AND NOT APPLE) OR (DEPENDS AND CMAKE_SYSTEM_NAME STREQUAL "Linux")) + if((STATIC AND UNIX AND NOT APPLE) OR (DEPENDS AND CMAKE_SYSTEM_NAME STREQUAL "Linux") OR ANDROID) find_library(LIBUDEV_LIBRARY udev) if(LIBUDEV_LIBRARY) set(LibUSB_LIBRARIES "${LibUSB_LIBRARIES};${LIBUDEV_LIBRARY}") |