Changeset View
Changeset View
Standalone View
Standalone View
src/qt/CMakeLists.txt
Show First 20 Lines • Show All 175 Lines • ▼ Show 20 Lines | target_link_libraries(bitcoin-qt-base | ||||
OpenSSL::SSL | OpenSSL::SSL | ||||
${Protobuf_LIBRARIES} | ${Protobuf_LIBRARIES} | ||||
) | ) | ||||
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") | ||||
set_property(TARGET bitcoin-qt-base PROPERTY AUTOMOC_MOC_OPTIONS "-DQ_OS_MAC") | set_property(TARGET bitcoin-qt-base PROPERTY AUTOMOC_MOC_OPTIONS "-DQ_OS_MAC") | ||||
endif() | endif() | ||||
if(USE_QRCODE) | |||||
target_include_directories(bitcoin-qt-base PUBLIC ${QRENCODE_INCLUDE_DIR}) | |||||
target_link_libraries(bitcoin-qt-base ${QRENCODE_LIBRARY}) | |||||
endif() | |||||
# Wallet | # Wallet | ||||
if(BUILD_BITCOIN_WALLET) | if(BUILD_BITCOIN_WALLET) | ||||
# Automoc option. | # Automoc option. | ||||
set(AUTOMOC_MOC_OPTIONS -DENABLE_WALLET=1) | set(AUTOMOC_MOC_OPTIONS -DENABLE_WALLET=1) | ||||
# Add wallet functionality to bitcoin-qt | # Add wallet functionality to bitcoin-qt | ||||
target_sources(bitcoin-qt-base | target_sources(bitcoin-qt-base | ||||
PRIVATE | PRIVATE | ||||
Show All 37 Lines |