aboutsummaryrefslogtreecommitdiff
path: root/src/device_trezor/CMakeLists.txt
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2019-03-14 09:43:01 +0200
committerRiccardo Spagni <ric@spagni.net>2019-03-14 09:43:02 +0200
commitc88e9921043d7c40f023d24c3a3f39f2e96f8738 (patch)
tree844d670d6571358f44f3e2b3867e2401526407c5 /src/device_trezor/CMakeLists.txt
parentMerge pull request #5273 (diff)
parentdevice/trezor: debugging features, trezor tests (diff)
downloadmonero-c88e9921043d7c40f023d24c3a3f39f2e96f8738.tar.xz
Merge pull request #4977
5ea17909 device/trezor: debugging features, trezor tests (Dusan Klinec)
Diffstat (limited to 'src/device_trezor/CMakeLists.txt')
-rw-r--r--src/device_trezor/CMakeLists.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/device_trezor/CMakeLists.txt b/src/device_trezor/CMakeLists.txt
index 7f979389a..3f5cbce12 100644
--- a/src/device_trezor/CMakeLists.txt
+++ b/src/device_trezor/CMakeLists.txt
@@ -67,6 +67,12 @@ set(trezor_private_headers)
if(DEVICE_TREZOR_READY)
message(STATUS "Trezor support enabled")
+ if(USE_DEVICE_TREZOR_DEBUG)
+ list(APPEND trezor_headers trezor/debug_link.hpp trezor/messages/messages-debug.pb.h)
+ list(APPEND trezor_sources trezor/debug_link.cpp trezor/messages/messages-debug.pb.cc)
+ message(STATUS "Trezor debugging enabled")
+ endif()
+
monero_private_headers(device_trezor
${device_private_headers})