mirror of
https://github.com/walterschell/Lua.git
synced 2024-11-09 16:51:47 +00:00
1.4 KiB
1.4 KiB
Lua
CMake based build of Lua 5.4.5
Build as C | Build as C++ |
---|---|
Usage
Inside of your project's CMakeLists.txt
add_subdirectory(lua)
...
target_link_libraries(<YOURTARGET> lua_static)
Important Note:
Depending on your use case, Lua v5.4.5 is API and ABI incompatible with v5.4.1-v5.4.4. A second parameter has been added to lua_resetthread()
. See https://marc.info/?t=168182290600001&r=1&w=2 for more details.