Skip to content

meson: Fix build with -Dopenjpeg=disabled

tests/check/meson.build uses the openjpeg_dep variable unconditionally, and the subdir_done() is useless anyway, since the plugin is only built if openjpeg_dep.found() is true. Fixes:

..\tests\check\meson.build:23:0: ERROR: Unknown variable "openjpeg_dep".

In particular, this fixes the build on UWP since we disable openjpeg explicitly in Cerbero when building for UWP.

Merge request reports