aboutsummaryrefslogtreecommitdiff
path: root/src/CMakeLists.txt
diff options
context:
space:
mode:
authorxiphon <xiphon@protonmail.com>2020-06-17 11:37:36 +0000
committerxiphon <xiphon@protonmail.com>2020-06-17 14:04:35 +0000
commit27532dc1bf6646b73d928d5ca8ac8a26140347be (patch)
tree24b68ff6d75a9a8ae71060a5750fdc5c1d4e60c3 /src/CMakeLists.txt
parent7f0c19950b77a21bd5d17e2b3a60c964b4e22e7b (diff)
downloadmonzero-gui-27532dc1bf6646b73d928d5ca8ac8a26140347be.tar.gz
monzero-gui-27532dc1bf6646b73d928d5ca8ac8a26140347be.tar.xz
monzero-gui-27532dc1bf6646b73d928d5ca8ac8a26140347be.zip
cmake: fix USE_DEVICE_TREZOR option
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r--src/CMakeLists.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index eb83cb0c..cc940e96 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -130,9 +130,6 @@ if(X11_FOUND)
target_link_libraries(monero-wallet-gui ${X11_LIBRARIES} pthread dl xcb X11)
endif()
-if(DEVICE_TREZOR_READY)
- target_link_libraries(monero-wallet-gui ${TREZOR_DEP_LIBS})
-endif()
if(INSTALL_VENDORED_LIBUNBOUND)
set(UNBOUND_LIBRARY ${CMAKE_BINARY_DIR}/monero/external/unbound/libunbound.a)
@@ -161,6 +158,10 @@ target_link_libraries(monero-wallet-gui
openpgp
)
+if(DEVICE_TREZOR_READY)
+ target_link_libraries(monero-wallet-gui ${TREZOR_DEP_LIBS})
+endif()
+
if(WITH_SCANNER)
target_link_libraries(monero-wallet-gui
${ZBAR_LIBRARIES}