diff options
Diffstat (limited to 'cmake')
| -rw-r--r-- | cmake/CheckTrezor.cmake | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/CheckTrezor.cmake b/cmake/CheckTrezor.cmake index f600cc0bb..4fae15fad 100644 --- a/cmake/CheckTrezor.cmake +++ b/cmake/CheckTrezor.cmake @@ -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() |
