Changeset View
Changeset View
Standalone View
Standalone View
src/config/CMakeLists.txt
| Show First 20 Lines • Show All 203 Lines • ▼ Show 20 Lines | if(ENABLE_QRCODE AND BUILD_WALLET AND BUILD_QT) | ||||
| 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) | ||||
| set(USE_UPNP 1 CACHE INTERNAL "UPnP is supported") | set(USE_UPNP 1 CACHE INTERNAL "UPnP is supported") | ||||
| endif() | endif() | ||||
| # Try to find natpmp | |||||
| if(ENABLE_NATPMP) | |||||
| set(USE_NATPMP 1 CACHE INTERNAL "NAT-PMP is supported") | |||||
| endif() | |||||
| if(ENABLE_DBUS_NOTIFICATIONS) | if(ENABLE_DBUS_NOTIFICATIONS) | ||||
| set(USE_DBUS 1) | set(USE_DBUS 1) | ||||
| endif() | endif() | ||||
| if(ENABLE_TRACING) | if(ENABLE_TRACING) | ||||
| check_cxx_source_compiles(" | check_cxx_source_compiles(" | ||||
| #include <sys/sdt.h> | #include <sys/sdt.h> | ||||
| int main() { | int main() { | ||||
| ▲ Show 20 Lines • Show All 44 Lines • Show Last 20 Lines | |||||