mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 03:29:24 +00:00
cmake: fix find protobuf
This commit is contained in:
parent
70402bb55e
commit
a6289021a3
1 changed files with 3 additions and 2 deletions
|
@ -293,8 +293,9 @@ if(DEPENDS)
|
|||
endif()
|
||||
|
||||
if(DEVICE_TREZOR_READY)
|
||||
if (DEPENDS)
|
||||
find_package(Protobuf CONFIG REQUIRED)
|
||||
find_package(Protobuf CONFIG)
|
||||
if (NOT Protobuf_FOUND)
|
||||
find_package(Protobuf REQUIRED)
|
||||
endif()
|
||||
target_link_libraries(feather PRIVATE ${TREZOR_DEP_LIBS})
|
||||
endif()
|
||||
|
|
Loading…
Reference in a new issue