Changeset View
Changeset View
Standalone View
Standalone View
src/config/CMakeLists.txt
Show First 20 Lines • Show All 216 Lines • ▼ Show 20 Lines | |||||
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 | ||||
# defined to 1, otherwise it should be defined to 0. | # defined to 1, otherwise it should be defined to 0. | ||||
set(USE_UPNP ${START_WITH_UPNP} CACHE INTERNAL "UPnP is enabled") | set(USE_UPNP ${START_WITH_UPNP} CACHE INTERNAL "UPnP is enabled") | ||||
endif() | endif() | ||||
if(ENABLE_NOTIFICATIONS) | if(ENABLE_DBUS_NOTIFICATIONS) | ||||
set(USE_DBUS 1) | set(USE_DBUS 1) | ||||
endif() | endif() | ||||
# Generate the config | # Generate the config | ||||
configure_file(bitcoin-config.h.cmake.in bitcoin-config.h ESCAPE_QUOTES) | configure_file(bitcoin-config.h.cmake.in bitcoin-config.h ESCAPE_QUOTES) |