mirror of
https://github.com/monero-project/monero.git
synced 2025-09-22 23:54:41 -04:00
trezor: fix protobuf 30 compatibility
This commit is contained in:
parent
f90a267fa3
commit
a5fabe5134
3 changed files with 18 additions and 0 deletions
|
@ -63,6 +63,10 @@ if (USE_DEVICE_TREZOR)
|
|||
trezor_fatal_msg("Trezor: protobuf library not found")
|
||||
endif()
|
||||
|
||||
if (Protobuf_VERSION VERSION_GREATER_EQUAL 22.0)
|
||||
add_definitions(-DPROTOBUF_HAS_ABSEIL)
|
||||
endif()
|
||||
|
||||
if(TREZOR_DEBUG)
|
||||
set(USE_DEVICE_TREZOR_DEBUG 1)
|
||||
message(STATUS "Trezor: debug build enabled")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue