mirror of
https://github.com/monero-project/monero.git
synced 2025-05-07 13:54:59 -04:00
Include Libusb and hidapi on android
This commit is contained in:
parent
b1873af519
commit
42b74a37d3
2 changed files with 12 additions and 3 deletions
|
@ -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}")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue