Skip to content

meson: use required : feature option correclty

Dylan Baker requested to merge dbaker/libglvnd:submit/fix-get-option-x11 into master

The code here is a complicated way to write exactly the same thing. If get_option('x11') returns disabled, ie -Dx11=disabled then dependency() short circuits and returns a not found object (just like dependency('', required : false), but with the correct name for error messages).

Edited by Dylan Baker

Merge request reports