Closed wushifeng closed 2 years ago
Hi,
this is forcing compilation against LuaJIT. Merging this would broke any other build pipeline, so I am against merging this in current state. (E.g. I build plain Lua-cURL without need for JIT).
Ideal course of action would be to make LuaJIT and shared library compilation optional. Few optional flags should do the trick.
Another option is to use existing CMakeLists.txt as subproject and build it from parent CMakeLists.txt.
by the way, I succesfully build it with luajit on Gentoo all that years :shrug:
Cmake has error to compile, modify the content