meson: Fix building with -Dwifi=true
This commit is contained in:
parent
59c2b8a990
commit
8aaabb9b05
|
@ -25,7 +25,7 @@ dep_agg = dependency('libagg', required: false)
|
||||||
#dep_lua = dependency('lua-5.1', required: false)
|
#dep_lua = dependency('lua-5.1', required: false)
|
||||||
|
|
||||||
if get_option('wifi')
|
if get_option('wifi')
|
||||||
add_global_arguments('-DEXPERIMENTAL_WIFI_COMM')
|
add_global_arguments('-DEXPERIMENTAL_WIFI_COMM', language: ['c', 'cpp'])
|
||||||
endif
|
endif
|
||||||
|
|
||||||
dependencies = [dep_glib2, dep_sdl, dep_pcap, dep_zlib, dep_threads]
|
dependencies = [dep_glib2, dep_sdl, dep_pcap, dep_zlib, dep_threads]
|
||||||
|
|
Loading…
Reference in New Issue