From 028a11825f0c308be5193031f10c112803f8223b Mon Sep 17 00:00:00 2001 From: minerobber Date: Sat, 14 Dec 2024 07:12:24 -0500 Subject: [PATCH] Swap LUA_COMPAT_5_2 for LUA_COMPAT_5_3, since we're in Lua 5.4 now (#2728) --- cmake/lua.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/lua.cmake b/cmake/lua.cmake index c41bf7bfa..00dc3f63d 100644 --- a/cmake/lua.cmake +++ b/cmake/lua.cmake @@ -48,7 +48,7 @@ if(BUILD_WITH_LUA OR BUILD_WITH_MOON OR BUILD_WITH_FENNEL) ${CMAKE_SOURCE_DIR}/src/api/parse_note.c ) - target_compile_definitions(luaapi PRIVATE LUA_COMPAT_5_2) + target_compile_definitions(luaapi PRIVATE LUA_COMPAT_5_3) target_include_directories(luaapi PUBLIC ${THIRDPARTY_DIR}/lua