aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--wscript4
1 files changed, 3 insertions, 1 deletions
diff --git a/wscript b/wscript
index 5b715c0..9050a1a 100644
--- a/wscript
+++ b/wscript
@@ -67,7 +67,9 @@ def configure(conf):
if not Options.options.no_qt5:
autowaf.check_pkg(conf, 'Qt5Widgets', uselib_store='QT5',
atleast_version='5.1.0', mandatory=False)
- conf.find_program('moc', var='MOC5')
+ if conf.env.HAVE_QT5:
+ if not conf.find_program('moc-qt5', var='MOC5', mandatory=False):
+ conf.find_program('moc', var='MOC5')
conf.check(function_name='jack_port_type_get_buffer_size',
header_name='jack/jack.h',