Update README about Meson versions < 0.54

Related to issue https://github.com/franko/lite-xl/issues/98
This commit is contained in:
Francesco 2021-03-14 12:55:31 +01:00 committed by GitHub
parent 1f97805321
commit 56a4584a1b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 0 deletions

View File

@ -70,6 +70,14 @@ meson compile -C build
meson install -C build
```
If you are using a version of Meson below 0.54 you need to use diffent commands to compile and install:
```sh
meson setup build
ninja -C build
ninja -C build install
```
When performing the `meson setup` command you may enable the `-Dportable=true` option to specify whether a portable build should be done.
If `portable` is enabled, Lite XL is built to use `data` and `user` directories placed next to the executable.