diff options
author | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:37:35 +0200 |
---|---|---|
committer | Richard Hughes <richard@hughsie.com> | 2018-09-20 11:00:08 +0100 |
commit | 523c695d7640c6d9fa5fafd0e4994f7ad6cf57b4 (patch) | |
tree | 9cb46943a59ced3e65608754bfeef4db3a47735a | |
parent | 1b041e3205a0d5d99e414d647a8d8392769a5624 (diff) | |
download | colord-523c695d7640c6d9fa5fafd0e4994f7ad6cf57b4.tar.gz |
Don't hard-require spotread to build argyll sensor.
The sensor can be built fine without it installed, and for packagers it is
necessary to specify a manual dependency anyway.
-rw-r--r-- | meson.build | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 8e1fa01..83e6b7d 100644 --- a/meson.build +++ b/meson.build @@ -160,7 +160,10 @@ if get_option('sane') endif if get_option('argyllcms_sensor') - spotread = find_program('spotread') + spotread = find_program('spotread', required : false) + if spotread.found() == false + warning('spotread not found. Argyll sensor will not work unless argyll is installed') + endif conf.set('HAVE_ARGYLLCMS_SENSOR', '1') endif |