mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 12:25:17 -04: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
@ -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…
x
Reference in New Issue
Block a user