mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix(LuaLib): Fix compilation with lua5.1 (#291)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user