mirror of
https://github.com/monero-project/monero.git
synced 2025-08-19 03:08:03 -04:00
Merge pull request #4945
e37154a
build: protobuf dependency fixes, libusb build (ph4r05)
This commit is contained in:
commit
9c2d671397
12 changed files with 228 additions and 25 deletions
|
@ -67,14 +67,6 @@ set(trezor_private_headers)
|
|||
if(DEVICE_TREZOR_READY)
|
||||
message(STATUS "Trezor support enabled")
|
||||
|
||||
add_definitions(-DPROTOBUF_INLINE_NOT_IN_HEADERS=0)
|
||||
|
||||
set(TREZOR_LIBUSB_LIBRARIES "")
|
||||
if(LibUSB_COMPILE_TEST_PASSED)
|
||||
list(APPEND TREZOR_LIBUSB_LIBRARIES ${LibUSB_LIBRARIES})
|
||||
message(STATUS "Trezor compatible LibUSB found at: ${LibUSB_INCLUDE_DIRS}")
|
||||
endif()
|
||||
|
||||
monero_private_headers(device_trezor
|
||||
${device_private_headers})
|
||||
|
||||
|
|
|
@ -139,6 +139,12 @@ if (BUILD_GUI_DEPS)
|
|||
endif()
|
||||
install(TARGETS wallet_merged
|
||||
ARCHIVE DESTINATION ${lib_folder})
|
||||
|
||||
install(FILES ${TREZOR_DEP_LIBS}
|
||||
DESTINATION ${lib_folder})
|
||||
file(WRITE "trezor_link_flags.txt" ${TREZOR_DEP_LINKER})
|
||||
install(FILES "trezor_link_flags.txt"
|
||||
DESTINATION ${lib_folder})
|
||||
endif()
|
||||
|
||||
add_subdirectory(api)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue