sol2 icon indicating copy to clipboard operation
sol2 copied to clipboard

luacompiler cannot be built

Open roman-orekhov opened this issue 2 years ago • 0 comments

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

roman-orekhov avatar Jun 24 '23 15:06 roman-orekhov