Allow user to change their lua version

This commit is contained in:
buffet 2020-05-11 15:11:23 +00:00
parent 5bacdf12c6
commit f8d95f2fd5
3 changed files with 9 additions and 1 deletions

View file

@ -29,6 +29,13 @@ $ meson build
$ ninja -C build
```
If you plan to use luajit instead, use the following commands instead.
```
$ meson -Dlua-pkg=luajit build
$ ninja -C build
```
Installing is accomplished with the following command:
```

View file

@ -17,7 +17,7 @@ add_project_arguments(
)
git = find_program('git', required: false)
lua = dependency('lua')
lua = dependency(get_option('lua-pkg'))
wayland_client = dependency('wayland-client')
wayland_protocols = dependency('wayland-protocols')
wayland_scanner = dependency('wayland-scanner')

View file

@ -1 +1,2 @@
option('kiwmi-version', type: 'string', description: 'The version string reported in `kiwmi -v`.')
option('lua-pkg', type: 'string', value: 'lua', description: 'The Lua version to use.')