Skip to content

Skip references to color management if disabled

Hugo requested to merge WhyNotHugo/wlroots:wlr-colour into master

When lcms2-dev, color-management is disabled and not compiled. When this happens, some references to undefined symbols remain. Omit color-management related calls when it is disabled.

I'm not entirely sure that this is the cleanest solution, but it compiles and sway runs without any issues.

Fixes: https://github.com/swaywm/sway/issues/8138

Merge request reports