Changeset View
Changeset View
Standalone View
Standalone View
src/config/CMakeLists.txt
Show First 20 Lines • Show All 204 Lines • ▼ Show 20 Lines | |||||
set(ENABLE_WALLET ${BUILD_BITCOIN_WALLET}) | set(ENABLE_WALLET ${BUILD_BITCOIN_WALLET}) | ||||
# Activate ZeroMQ | # Activate ZeroMQ | ||||
set(ENABLE_ZMQ ${BUILD_BITCOIN_ZMQ}) | set(ENABLE_ZMQ ${BUILD_BITCOIN_ZMQ}) | ||||
# Try to find libqrencode | # Try to find libqrencode | ||||
# Only used in the wallet GUI | # Only used in the wallet GUI | ||||
if(ENABLE_QRCODE AND BUILD_BITCOIN_WALLET AND BUILD_BITCOIN_QT) | if(ENABLE_QRCODE AND BUILD_BITCOIN_WALLET AND BUILD_BITCOIN_QT) | ||||
find_package(QREncode REQUIRED) | |||||
set(USE_QRCODE 1 CACHE INTERNAL "QR code is enabled") | set(USE_QRCODE 1 CACHE INTERNAL "QR code is enabled") | ||||
endif() | endif() | ||||
# Try to find miniupnpc | # Try to find miniupnpc | ||||
if(ENABLE_UPNP) | if(ENABLE_UPNP) | ||||
# The expected behavior is as follow: | # The expected behavior is as follow: | ||||
# - If UPnP is enabled USE_UPNP must be defined | # - If UPnP is enabled USE_UPNP must be defined | ||||
# - If UPnP should be the default port map method, USE_UPNP should be | # - If UPnP should be the default port map method, USE_UPNP should be | ||||
Show All 10 Lines |