meson: Fix building with -Dwifi=true

This commit is contained in:
Emmanuel Gil Peyrot 2020-09-25 21:52:41 +02:00
parent 59c2b8a990
commit 8aaabb9b05
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ dep_agg = dependency('libagg', required: false)
#dep_lua = dependency('lua-5.1', required: false)
if get_option('wifi')
add_global_arguments('-DEXPERIMENTAL_WIFI_COMM')
add_global_arguments('-DEXPERIMENTAL_WIFI_COMM', language: ['c', 'cpp'])
endif
dependencies = [dep_glib2, dep_sdl, dep_pcap, dep_zlib, dep_threads]