meson: Also set HAVE_ALSA when alsa is enabled
authorArnaud Rebillout <arnaud.rebillout@collabora.com>
Fri, 19 Oct 2018 09:38:38 +0000 (16:38 +0700)
committerArun Raghavan <arun@arunraghavan.net>
Thu, 27 Dec 2018 11:55:55 +0000 (17:25 +0530)
Just following the configure file.

Signed-off-by: Arnaud Rebillout <arnaud.rebillout@collabora.com>
meson.build

index 45eca206e5fbf81e02f6d45d195cb13f379da84e..5b6aa1137adaff255948da99a87e9fc80d8803d5 100644 (file)
@@ -239,6 +239,7 @@ endif
 
 alsa_dep = dependency('alsa', version : '>= 1.0.24', required : get_option('alsa'))
 if alsa_dep.found()
+  cdata.set('HAVE_ALSA', 1)
   cdata.set('HAVE_ALSA_UCM', 1)
 endif