Merge pull request #44 from vtnerd/fix/no_hidapi_build

Detect missing HIDAPI in Cmake
This commit is contained in:
Lee *!* Clagett 2022-08-02 11:55:53 -04:00 committed by GitHub
commit ab83c662f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

View file

@ -132,6 +132,11 @@ if ("${monero_UNBOUND_LIBRARIES}" STREQUAL "UNBOUND_LIBRARIES-NOTFOUND")
unset(monero_UNBOUND_LIBRARIES)
endif()
if ("${monero_HIDAPI_LIBRARY}" STREQUAL "HIDAPI_LIBRARY-NOTFOUND")
unset(monero_HIDAPI_INCLUDE_DIR)
unset(monero_HIDAPI_LIBRARY)
endif()
#
# Dependencies specific to monero-lws
#

View file

@ -23,7 +23,6 @@ RUN apt-get install --no-install-recommends -y \
graphviz \
libboost-all-dev \
libexpat1-dev \
libhidapi-dev \
libldns-dev \
liblzma-dev \
libpgm-dev \