diff options
author | Riccardo Spagni <ric@spagni.net> | 2018-09-24 22:19:48 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2018-09-24 22:19:49 +0200 |
commit | 59024a9e889897faf34c03961ead49e32ec1e92b (patch) | |
tree | 7c6e03ce2a27685b09bf65a06536113d954b574e /src/device/CMakeLists.txt | |
parent | Merge pull request #4429 (diff) | |
parent | Replace USB-CCID (smartcard) by USB-HID (diff) | |
download | monero-59024a9e889897faf34c03961ead49e32ec1e92b.tar.xz |
Merge pull request #4203
bb6e3bbc Replace USB-CCID (smartcard) by USB-HID (cslashm)
Diffstat (limited to 'src/device/CMakeLists.txt')
-rw-r--r-- | src/device/CMakeLists.txt | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/src/device/CMakeLists.txt b/src/device/CMakeLists.txt index cc2d20a54..8f446f42a 100644 --- a/src/device/CMakeLists.txt +++ b/src/device/CMakeLists.txt @@ -32,18 +32,27 @@ set(device_sources log.cpp ) -if(PCSC_FOUND) - set(device_sources ${device_sources} device_ledger.cpp) +if(HIDAPI_FOUND) + set(device_sources + ${device_sources} + device_ledger.cpp + device_io_hid.cpp + ) endif() set(device_headers device.hpp + device_io.hpp device_default.hpp log.hpp ) -if(PCSC_FOUND) - set(device_headers ${device_headers} device_ledger.hpp) +if(HIDAPI_FOUND) + set(device_headers + ${device_headers} + device_ledger.hpp + device_io_hid.hpp + ) endif() set(device_private_headers) @@ -65,7 +74,7 @@ monero_add_library(device target_link_libraries(device PUBLIC - ${PCSC_LIBRARIES} + ${HIDAPI_LIBRARIES} cncrypto ringct_basic ${OPENSSL_CRYPTO_LIBRARIES} |