diff --git a/desmume/src/frontend/posix/meson.build b/desmume/src/frontend/posix/meson.build index a42c64d47..3c4ea7255 100644 --- a/desmume/src/frontend/posix/meson.build +++ b/desmume/src/frontend/posix/meson.build @@ -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]