Created attachment 207640 [details] luv shar Made this port because it is now a dependency for neovim, I'm not experienced with CMAKE, comment me if there is a briefer way to set arguments.
Created attachment 207652 [details] now with docs Forgot to add the DOCS option, otherwise, it is identical.
One bug: it's LUAJIT_CMAKE_OFF, not LUAJIT_CMAKE_ARGS_OFF. It was not building without LUAJIT because of this.
Created attachment 207703 [details] Correction changed it, I suppose that LUAJIT_CMAKE_ARGS_ON should also be LUAJIT_CMAKE_ON
I committed this in r513964 but got the PR wrong (too many tabs in the browser, not enough tabs in my brain).