meson: Fix automagic build of msdk plugin
authorNirbheek Chauhan <nirbheek@centricular.com>
Sat, 19 Jan 2019 18:23:56 +0000 (23:53 +0530)
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>
Sat, 19 Jan 2019 18:28:42 +0000 (18:28 +0000)
commitf710b36ac4935bd6123df15a191c1fe089c4c233
tree2a4e3429fbfc82a2dc34f48e3b8e8cb9503d8b0b
parent7ffcab34780fbc077b52cb577d8973d9fbe85e5a
meson: Fix automagic build of msdk plugin

When building the msdk plugin even if libmfx is found, unless the
plugin is explicitly enabled we should not error out if msdk
dependencies are not found.

Also give an error message when we don't build the plugin on Windows
because we're not building with MSVC.
sys/msdk/meson.build