From 8aaabb9b0531355c5392f5a33c598b8ce6c51463 Mon Sep 17 00:00:00 2001 From: Emmanuel Gil Peyrot Date: Fri, 25 Sep 2020 21:52:41 +0200 Subject: [PATCH] meson: Fix building with -Dwifi=true --- desmume/src/frontend/posix/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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]