Commit 37dabe5f authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

meson: better error cms-static deps

Helps people to avoid lcms2 if they don't want it.
Signed-off-by: Pekka Paalanen's avatarPekka Paalanen <>
parent 4b29ffdd
......@@ -80,15 +80,17 @@ if get_option('color-management-lcms')
deps_lcms = [
dep_lcms2 = dependency('lcms2', required: false)
if not dep_lcms2.found()
error('cms-static requires lcms2 which was not found. Or, you can use \'-Dcolor-management-lcms=false\'.')
plugin_lcms = shared_library(
include_directories: include_directories('..', '../shared'),
dependencies: deps_lcms,
dependencies: [ dep_libweston, dep_lcms2 ],
name_prefix: '',
install: true,
install_dir: dir_module_weston
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment