diff options
-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 |