trezor: fix protobuf 30 compatibility

This commit is contained in:
tobtoht
2025-03-18 08:36:13 +01:00
parent 88a5d07682
commit bdcfd32f63
3 changed files with 18 additions and 0 deletions
+4
View File
@@ -55,6 +55,10 @@ if (USE_DEVICE_TREZOR)
set(Protobuf_FOUND 1) # override found if all rquired info was provided by variables
endif()
if (Protobuf_VERSION VERSION_GREATER_EQUAL 22.0)
add_definitions(-DPROTOBUF_HAS_ABSEIL)
endif()
if(TREZOR_DEBUG)
set(USE_DEVICE_TREZOR_DEBUG 1)
endif()