From e2a00f6b60d9a9f7edaa2ffad82298a639cddd79 Mon Sep 17 00:00:00 2001 From: Lee Clagett Date: Tue, 6 Oct 2020 12:33:39 -0400 Subject: [PATCH] HIDAPI is now an optional dependency --- CMakeLists.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 734b2ac..f82cce7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -113,6 +113,10 @@ if ("${monero_UNBOUND_LIBRARIES}" STREQUAL "UNBOUND_LIBRARIES-NOTFOUND") unset(monero_UNBOUND_LIBRARIES) endif() +if ("${monero_HIDAPI_LIBRARY}" STREQUAL "HIDAPI_LIBRARY-NOTFOUND") + unset(monero_HIDAPI_LIBRARY) +endif() + # # Dependencies specific to monero-lws #