ThePhD / sol2

Sol3 (sol2 v3.0) - a C++ <-> Lua API wrapper with advanced features and top notch performance - is here, and it's great! Documentation:
http://sol2.rtfd.io/
MIT License
4.06k stars 493 forks source link

luacompiler cannot be built #1506

Open roman-orekhov opened 1 year ago

roman-orekhov commented 1 year ago

Copy-paste error https://github.com/ThePhD/sol2/blob/develop/cmake/Packages/FindLuaBuild/LuaVanilla.cmake#L296

if (LUA_BUILD_LUA_COMPILER)
    add_executable(${luainterpreter} ${LUA_VANILLA_LUA_SOURCES})

fixed by

if (LUA_BUILD_LUA_COMPILER)
    add_executable(${luacompiler} ${LUA_VANILLA_LUAC_SOURCES})

Hope the project receives @ThePhD attention soon