mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
render/color: split off lcms2 code
Fixes compilation with color management disabled.
This commit is contained in:
parent
77006e5565
commit
aa340ade65
3 changed files with 121 additions and 120 deletions
|
|
@ -6,6 +6,7 @@ elif 'auto' in renderers and get_option('auto_features').disabled()
|
|||
endif
|
||||
|
||||
wlr_files += files(
|
||||
'color.c',
|
||||
'dmabuf.c',
|
||||
'drm_format_set.c',
|
||||
'pass.c',
|
||||
|
|
@ -43,6 +44,6 @@ subdir('allocator')
|
|||
lcms2 = dependency('lcms2', required: get_option('color-management'))
|
||||
if lcms2.found()
|
||||
wlr_deps += lcms2
|
||||
wlr_files += files('color.c')
|
||||
wlr_files += files('color_lcms2.c')
|
||||
features += { 'color-management': true }
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue