Detect missing HIDAPI in Cmake

This commit is contained in:
Lee Clagett 2022-07-29 14:45:40 -04:00
parent 2a4a5c8f64
commit 25dcbc72e2
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) unset(monero_UNBOUND_LIBRARIES)
endif() endif()
if ("${monero_HIDAPI_LIBRARY}" STREQUAL "HIDAPI_LIBRARY-NOTFOUND")
unset(monero_HIDAPI_INCLUDE_DIR)
unset(monero_HIDAPI_LIBRARY)
endif()
# #
# Dependencies specific to monero-lws # Dependencies specific to monero-lws
# #

View file

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