fix(LuaLib): Fix compilation with lua5.1 (#291)

This commit is contained in:
iThorgrim
2025-08-28 19:26:56 +02:00
committed by GitHub
parent 581ab3a346
commit 4bb12494f5
2 changed files with 4 additions and 4 deletions

View File

@@ -16,10 +16,6 @@ endif()
if (LUA_VERSION MATCHES "luajit")
add_subdirectory(src/lualib/luajit)
set(LUAJIT_VERSION true)
else()
add_subdirectory(src/lualib/lua)
set(LUAJIT_VERSION false)
endif()
set_target_properties(lualib PROPERTIES INTERFACE_COMPILE_DEFINITIONS LUAJIT_VERSION)