meson.build: add luajit support

This commit is contained in:
Tadeo Kondrak 2020-01-09 18:16:13 -07:00
parent 9f1f771d4f
commit 88670be036
No known key found for this signature in database
GPG key ID: D41E092CA43F1D8B

View file

@ -17,7 +17,10 @@ add_project_arguments(
) )
git = find_program('git', required: false) git = find_program('git', required: false)
lua = dependency('lua') lua = dependency('lua', required: false)
if not lua.found()
lua = dependency('luajit')
endif
wayland_client = dependency('wayland-client') wayland_client = dependency('wayland-client')
wayland_protocols = dependency('wayland-protocols') wayland_protocols = dependency('wayland-protocols')
wayland_scanner = dependency('wayland-scanner') wayland_scanner = dependency('wayland-scanner')