diff --git a/CMakeLists.txt b/CMakeLists.txt index e9c10b2..d90b8cb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -62,6 +62,8 @@ set(LUA_SRC add_library(lua STATIC ${LUA_SRC}) +target_compile_definitions(lua PRIVATE LUA_COMPAT_5_2) + ################################ # LPEG ################################