From 83a7668cf1e7e2a5290a4e1059ec3292c49b451f Mon Sep 17 00:00:00 2001 From: CppCXY <812125110@qq.com> Date: Wed, 15 May 2024 10:51:07 +0800 Subject: [PATCH] fix some bug --- emmy_core/CMakeLists.txt | 2 +- emmy_debugger/src/api/lua_state.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/emmy_core/CMakeLists.txt b/emmy_core/CMakeLists.txt index 1475682..860cd5c 100644 --- a/emmy_core/CMakeLists.txt +++ b/emmy_core/CMakeLists.txt @@ -21,7 +21,7 @@ target_sources(emmy_core PRIVATE target_link_libraries( emmy_core - PUBLIC emmy_debugger + PRIVATE emmy_debugger ) install( diff --git a/emmy_debugger/src/api/lua_state.cpp b/emmy_debugger/src/api/lua_state.cpp index 0ba0e6d..24fddda 100644 --- a/emmy_debugger/src/api/lua_state.cpp +++ b/emmy_debugger/src/api/lua_state.cpp @@ -3,7 +3,7 @@ #ifdef EMMY_USE_LUA_SOURCE #if defined(EMMY_LUA_JIT) -#define LuaSwitchDo(__LuaJIT__,__Lua51__, __Lua52__ , __Lua53__, __Lua54__) return __LuaJIT__ +#define LuaSwitchDo(__LuaJIT__,__Lua51__, __Lua52__ , __Lua53__, __Lua54__, __Default__) return __LuaJIT__ #elif defined(EMMY_LUA_51) #define LuaSwitchDo(__LuaJIT__,__Lua51__, __Lua52__ , __Lua53__, __Lua54__,__Default__) return __Lua51__ #elif defined(EMMY_LUA_52)