diff --git a/CMakeLists.txt b/CMakeLists.txt index 5bfe488..d1f5173 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 # diff --git a/Dockerfile b/Dockerfile index a1d55c4..1e0580b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 \