mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-20 11:53:53 +00:00
Enforce Lua 5.1 when LuaJIT is not being used
Later minor version bumps of Lua somehow break a lot of our code, this will fix things like 3rd person mode, crosshair etc for the Apple Silicon build
This commit is contained in:
parent
9bed210e4e
commit
fe59b9a92a
1 changed files with 1 additions and 1 deletions
|
@ -459,7 +459,7 @@ if(USE_LUAJIT)
|
|||
set(LUA_INCLUDE_DIR ${LuaJit_INCLUDE_DIR})
|
||||
set(LUA_LIBRARIES ${LuaJit_LIBRARIES})
|
||||
else(USE_LUAJIT)
|
||||
find_package(Lua REQUIRED)
|
||||
find_package(Lua 5.1 EXACT REQUIRED)
|
||||
add_compile_definitions(NO_LUAJIT)
|
||||
endif(USE_LUAJIT)
|
||||
|
||||
|
|
Loading…
Reference in a new issue