|
|
@ -107,15 +107,17 @@ if get_option('color-management-colord') |
|
|
|
'cms-colord.c', |
|
|
|
'cms-colord.c', |
|
|
|
'cms-helper.c', |
|
|
|
'cms-helper.c', |
|
|
|
] |
|
|
|
] |
|
|
|
deps_colord = [ |
|
|
|
|
|
|
|
dep_libweston, |
|
|
|
dep_colord = dependency('colord', version: '>= 0.1.27', required: false) |
|
|
|
dependency('colord', version: '>= 0.1.27') |
|
|
|
if not dep_colord.found() |
|
|
|
] |
|
|
|
error('cms-colord requires colord >= 0.1.27 which was not found. Or, you can use \'-Dcolor-management-colord=false\'.') |
|
|
|
|
|
|
|
endif |
|
|
|
|
|
|
|
|
|
|
|
plugin_colord = shared_library( |
|
|
|
plugin_colord = shared_library( |
|
|
|
'cms-colord', |
|
|
|
'cms-colord', |
|
|
|
srcs_colord, |
|
|
|
srcs_colord, |
|
|
|
include_directories: include_directories('..', '../shared'), |
|
|
|
include_directories: include_directories('..', '../shared'), |
|
|
|
dependencies: deps_colord, |
|
|
|
dependencies: [ dep_libweston, dep_colord ], |
|
|
|
name_prefix: '', |
|
|
|
name_prefix: '', |
|
|
|
install: true, |
|
|
|
install: true, |
|
|
|
install_dir: dir_module_weston |
|
|
|
install_dir: dir_module_weston |
|
|
|