Improve LuaJIT detection
authorFerdinand Thiessen <rpm@fthiessen.de>
Thu, 3 Dec 2015 20:18:39 +0000 (21:18 +0100)
committerest31 <MTest31@outlook.com>
Sat, 5 Dec 2015 22:31:09 +0000 (23:31 +0100)
commit70ece71ee4e8f8bff5cbc572710c0fa6fc3b355f
tree3ae8a0950287f694fe9c61a673b418a04b435791
parent5643b9b9ed3ec39f90e3a7c9bf09bc255e0bcef3
Improve LuaJIT detection

On openSUSE luajit is not detected correctly.
This is because openSUSE is using a lua version suffix, like other Linux distributions do it also.
So the include directory is:
include/luajit-5_1-2.0
cmake/Modules/FindLua.cmake [deleted file]
cmake/Modules/FindLuaJIT.cmake [new file with mode: 0644]
src/CMakeLists.txt