Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot build when LuaJIT 2.1.0-beta is installed but LuaJIT 2.0 does not. #31

Open
MikuAuahDark opened this issue Jan 17, 2019 · 1 comment

Comments

@MikuAuahDark
Copy link

MikuAuahDark commented Jan 17, 2019

It seems that Ubuntu 18.04 ships with LuaJIT 2.1.0-beta3 instead of LuaJIT 2.0.x, and the FindLuaJIT.cmake script doesn't look for include/luajit-2.1 and include/luajit2.1, thus the configure script fails.

I have to modify FindLuaJIT.cmake to search also in include/luajit-2.1 and include/luajit2.1 to fix this problem.

@doyousketch2
Copy link

Can confirm on Debian 9 / testing. Same issue.

line 7 set(LUAJIT_SEARCH_PATHS
line 8 ++ /usr/include/luajit-2.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants