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

Simplify logic to select Lua interpreter #4576

Merged
merged 6 commits into from
May 23, 2024
Merged

Conversation

ranisalt
Copy link
Member

@ranisalt ranisalt commented Nov 30, 2023

Pull Request Prelude

Changes Proposed

Since auto-detecting LuaJIT installed is quite complicated when using vcpkg, it's better to leave it for the user to choose.

Generating makefiles using cmake -DUSE_LUAJIT=ON will automatically download and install LuaJIT using vcpkg, otherwise it will use Lua 5.4. For non-vcpkg builds, it will search for LuaJIT or not depending on the flag, instead of trying to be smart.

@EPuncker EPuncker added the enhancement Increase or improvement in quality, value, or extent label Dec 1, 2023
@ranisalt ranisalt marked this pull request as draft December 1, 2023 14:24
@ranisalt ranisalt marked this pull request as ready for review May 18, 2024 23:04
@ranisalt ranisalt changed the title Update vcpkg and simplify logic to select Lua interpreter Simplify logic to select Lua interpreter May 22, 2024
EPuncker
EPuncker previously approved these changes May 23, 2024
@ranisalt ranisalt merged commit 4789ce0 into otland:master May 23, 2024
19 checks passed
@ranisalt ranisalt deleted the update-vcpkg branch May 23, 2024 23:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Increase or improvement in quality, value, or extent
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants