Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
Show First 20 Lines • Show All 234 Lines • ▼ Show 20 Lines | if(ENABLE_BIP70) | ||||
add_library(bitcoin-qt-protobuf OBJECT | add_library(bitcoin-qt-protobuf OBJECT | ||||
# Protobuf codegen | # Protobuf codegen | ||||
${PROTOBUF_HEADERS} | ${PROTOBUF_HEADERS} | ||||
${PROTOBUF_SOURCES} | ${PROTOBUF_SOURCES} | ||||
) | ) | ||||
target_include_directories(bitcoin-qt-protobuf PUBLIC ${Protobuf_INCLUDE_DIRS}) | target_include_directories(bitcoin-qt-protobuf PUBLIC ${Protobuf_INCLUDE_DIRS}) | ||||
target_link_libraries(bitcoin-qt-protobuf ${Protobuf_LIBRARIES}) | target_link_libraries(bitcoin-qt-protobuf ${Protobuf_LIBRARIES}) | ||||
# Don't run clang-tidy on generated files | |||||
if(ENABLE_CLANG_TIDY) | |||||
include(ClangTidy) | |||||
target_disable_clang_tidy(bitcoin-qt-protobuf) | |||||
endif() | |||||
target_link_libraries(bitcoin-qt-base | target_link_libraries(bitcoin-qt-base | ||||
OpenSSL::SSL | OpenSSL::SSL | ||||
bitcoin-qt-protobuf | bitcoin-qt-protobuf | ||||
) | ) | ||||
endif() | endif() | ||||
# Wallet | # Wallet | ||||
if(BUILD_BITCOIN_WALLET) | if(BUILD_BITCOIN_WALLET) | ||||
▲ Show 20 Lines • Show All 332 Lines • Show Last 20 Lines |