From 88670be036c501c5e43a2b4348a8579aab2fcb5d Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Thu, 9 Jan 2020 18:16:13 -0700 Subject: [PATCH] meson.build: add luajit support --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 32a76a3..c37d8aa 100644 --- a/meson.build +++ b/meson.build @@ -17,7 +17,10 @@ add_project_arguments( ) 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_protocols = dependency('wayland-protocols') wayland_scanner = dependency('wayland-scanner')