brimworks / lua-yajl

Integrate the yajl JSON library with Lua.
Other
48 stars 10 forks source link

No support for luajit #3

Closed jney closed 13 years ago

jney commented 13 years ago

Hi, lua-yajl doesn't compile with luajit. cmake instruction FIND_PACKAGE(Lua51 REQUIRED) raises an error would it be possible to add support for luajit ?

brimworks commented 13 years ago

Humm... this is the exact same instruction that lua-zlib issues in CMakeLists.txt, so you should be able to do the same thing you did to get lua-zlib to build (assuming you where successful in that endeavor).

If you have suggestions that require changes to CMakeLists.txt work with vanilla lua and luajit, feel free to send me a pull request on github.