[rhythmbox] build: fix up fm radio option check
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox] build: fix up fm radio option check
- Date: Wed, 3 Nov 2021 12:21:43 +0000 (UTC)
commit 5767b0376f381262087f05b3cbd2a267d27a7a67
Author: Jonathan Matthew <jonathan d14n org>
Date: Wed Nov 3 22:11:31 2021 +1000
build: fix up fm radio option check
The previous syntax is a hard error with meson 0.60
meson.build | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 0d1251595..1d7dd3a91 100644
--- a/meson.build
+++ b/meson.build
@@ -227,7 +227,7 @@ enable_fm_radio = false
if get_option('fm_radio').allowed()
if cc.has_header('linux/videodev2.h')
enable_fm_radio = true
- elif get_option('fm_radio') == 'enabled'
+ elif get_option('fm_radio').enabled()
error('FM radio plugin explicitly requested, but cannot be built')
endif
endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]