buffet / kiwmi

A fully programmable Wayland Compositor
Mozilla Public License 2.0
585 stars 22 forks source link

meson.build: add luajit support #16

Closed tadeokondrak closed 4 years ago

buffet commented 4 years ago

Great idea.

I kinda dislike that it complains about luajit missing (as opposed to just lua), if both are absent though.


Run-time dependency lua found: NO (tried pkgconfig and cmake)
Run-time dependency luajit found: NO (tried pkgconfig)

meson.build:22:2: ERROR: Dependency "luajit" not found, tried pkgconfig```

Is it possible to check if either are present, and tell the user that both are missing or something like that?