aboutsummaryrefslogtreecommitdiffstats
path: root/wscript
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-09-13 15:13:00 +0000
committerDavid Robillard <d@drobilla.net>2015-09-13 15:13:00 +0000
commitf00dbfd6e0fbd7ded5328d4c68c8f76e23d5aac4 (patch)
treebea9f34fa907734c4f3b3e4b3b5feacc26071e2f /wscript
parent98703d8c9944016b90f673cf00521125ada5a4c8 (diff)
downloadjalv-f00dbfd6e0fbd7ded5328d4c68c8f76e23d5aac4.tar.gz
jalv-f00dbfd6e0fbd7ded5328d4c68c8f76e23d5aac4.tar.bz2
jalv-f00dbfd6e0fbd7ded5328d4c68c8f76e23d5aac4.zip
Fix Qt5 moc detection on some systems.
git-svn-id: http://svn.drobilla.net/lad/trunk/jalv@5729 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'wscript')
-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',