1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-02-25 13:09:43 +00:00

Merge branch 'force-lua-5.1' into 'openmw-48'

Enforce Lua 5.1 when LuaJIT is not being used (OpenMW 0.48)

See merge request OpenMW/openmw!2410
This commit is contained in:
psi29a 2022-09-22 07:52:10 +00:00
commit 960934afee

View file

@ -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)