meson: fast-fail on unsupported OSes
authorEli Schwartz <eschwartz93@gmail.com>
Sun, 11 Sep 2022 05:09:17 +0000 (01:09 -0400)
committerEli Schwartz <eschwartz93@gmail.com>
Sun, 11 Sep 2022 05:49:42 +0000 (01:49 -0400)
commit474894ed17a037a464e5bd845a0765a50f647898
tree5da3a00994d506c0ff318e13a7c70a2989271e88
parentfb5c0c301aa9b6d984ffee522775ca19ea7c7be6
meson: fast-fail on unsupported OSes

It's not worth even attempting to configure anything on OSes where there
is no DRM to have a userspace library for.

This failure message can be useful in e.g. the case where libdrm is an
optional wrap fallback in another project.

Signed-off-by: Eli Schwartz <eschwartz93@gmail.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
meson.build