From 2e7fef7d180530d210df0ade91ddb9ccedef6abd Mon Sep 17 00:00:00 2001 From: Emmanuele Bassi Date: Wed, 14 Feb 2018 13:45:48 +0000 Subject: [PATCH] build: Rename the 'enable-colord' option Drop the 'enable-' prefix, to follow the naming best practices for Meson configuration options. --- meson_options.txt | 2 +- modules/printbackends/cups/meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meson_options.txt b/meson_options.txt index 2f9dd80285..dd0046dd10 100644 --- a/meson_options.txt +++ b/meson_options.txt @@ -1,4 +1,4 @@ -option('enable-colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', +option('colord', type: 'combo', choices : ['yes', 'no', 'auto'], value : 'auto', description : 'Build colord support code') option('enable-x11-backend', type: 'boolean', value: 'true', description : 'Enable the X11 gdk backend') diff --git a/modules/printbackends/cups/meson.build b/modules/printbackends/cups/meson.build index a6f83d51e7..ef7a30ee9a 100644 --- a/modules/printbackends/cups/meson.build +++ b/modules/printbackends/cups/meson.build @@ -1,4 +1,4 @@ -enable_colord = get_option('enable-colord') +enable_colord = get_option('colord') if enable_colord != 'no' want_colord = enable_colord == 'yes' colord_dep = dependency('colord', version: '>= 0.1.9', required: want_colord)