diff options
author | David Robillard <d@drobilla.net> | 2015-09-13 15:13:00 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-09-13 15:13:00 +0000 |
commit | f00dbfd6e0fbd7ded5328d4c68c8f76e23d5aac4 (patch) | |
tree | bea9f34fa907734c4f3b3e4b3b5feacc26071e2f /wscript | |
parent | 98703d8c9944016b90f673cf00521125ada5a4c8 (diff) | |
download | jalv-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-- | wscript | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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', |