diff --git a/meson.build b/meson.build index 65655d813..9639a002e 100644 --- a/meson.build +++ b/meson.build @@ -67,6 +67,9 @@ if get_option('proxy_server').enabled() opendht_src += 'src/dht_proxy_server.cpp' add_project_arguments('-DOPENDHT_PROXY_SERVER', language : 'cpp') endif +if get_option('push_notifications').enabled() + add_project_arguments('-DOPENDHT_PUSH_NOTIFICATIONS', language : 'cpp') +endif if get_option('peer_discovery').enabled() opendht_src += 'src/peer_discovery.cpp' add_project_arguments('-DOPENDHT_PEER_DISCOVERY', language : 'cpp') diff --git a/meson.options b/meson.options index 5af9d34a5..7719d67dd 100644 --- a/meson.options +++ b/meson.options @@ -1,5 +1,6 @@ option('proxy_client', type : 'feature', value : 'disabled') option('proxy_server', type : 'feature', value : 'disabled') +option('push_notifications', type : 'feature', value : 'disabled') option('peer_discovery', type : 'feature', value : 'enabled') option('tools', type : 'feature', value : 'enabled') option('c', type : 'feature', value : 'enabled')