mirror of
https://github.com/wownero/wowlet.git
synced 2026-12-01 12:34:12 +01:00
cmake: fix find protobuf
This commit is contained in:
+3
-2
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user