diff options
author | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:37:35 +0200 |
---|---|---|
committer | Christopher James Halse Rogers <raof@ubuntu.com> | 2018-09-18 09:55:08 +0200 |
commit | 703dca60c4f47e2777f00563ec0806b81f769dd1 (patch) | |
tree | 9cb46943a59ced3e65608754bfeef4db3a47735a | |
parent | 1b041e3205a0d5d99e414d647a8d8392769a5624 (diff) | |
download | colord-703dca60c4f47e2777f00563ec0806b81f769dd1.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 |