meson: Only ensure that moc is available on Linux
authorNirbheek Chauhan <nirbheek@centricular.com>
Mon, 1 Apr 2019 12:50:28 +0000 (18:20 +0530)
committerNirbheek Chauhan <nirbheek@centricular.com>
Mon, 1 Apr 2019 12:50:28 +0000 (18:20 +0530)
commitf23724b8a6f790fee3c8da37c84865b37a67fafe
treea5e57659a7b774764939cd6600dd48d69e7483ec
parent915a9c99bb7ad93e2bf3c56900c6323b045a0b06
meson: Only ensure that moc is available on Linux

On other OSes, it's not possible to have qmake or the qt5 pkg-config
files and not have moc, and `moc` will not be in `PATH`, so this only
causes problems.
ext/qt/meson.build