LuaVersion and Options need to be public to allow them to be set
This commit is contained in:
parent
bded27ac26
commit
79b1bdb0b1
|
@ -3,7 +3,7 @@ const std = @import("std");
|
|||
const Builder = std.build.Builder;
|
||||
const LibExeObjStep = std.build.LibExeObjStep;
|
||||
|
||||
const LuaVersion = enum {
|
||||
pub const LuaVersion = enum {
|
||||
lua_51,
|
||||
lua_52,
|
||||
lua_53,
|
||||
|
@ -39,7 +39,7 @@ fn dir() []const u8 {
|
|||
return std.fs.path.dirname(@src().file) orelse ".";
|
||||
}
|
||||
|
||||
const Options = struct {
|
||||
pub const Options = struct {
|
||||
/// Defines the macro LUA_USE_APICHECK in debug builds
|
||||
use_apicheck: bool = false,
|
||||
/// Defines the Lua version to build and link
|
||||
|
|
Loading…
Reference in New Issue
Block a user