Allow user to change their lua version
This commit is contained in:
parent
5f632b1a81
commit
39f9a54a71
3 changed files with 9 additions and 1 deletions
|
@ -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:
|
||||
|
||||
```
|
||||
|
|
|
@ -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')
|
||||
|
|
|
@ -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.')
|
||||
|
|
Loading…
Reference in a new issue