소스 검색

build.zig: Very minor fixes (#4381)

pull/4382/head
Sage Hane 1 년 전
committed by GitHub
부모
커밋
c18677e70f
No known key found for this signature in database GPG 키 ID: B5690EEEBB952194
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. +1
    -2
      src/build.zig

+ 1
- 2
src/build.zig 파일 보기

@ -65,7 +65,7 @@ fn srcDir(b: *std.Build) []const u8 {
comptime {
const order = std.SemanticVersion.order;
const parse = std.SemanticVersion.parse;
if (order(min_ver, parse("0.14.0") catch unreachable) != .lt)
if (order(parse(min_ver) catch unreachable, parse("0.14.0") catch unreachable) != .lt)
@compileError("Please take a look at this function again");
}
@ -136,7 +136,6 @@ fn compileRaylib(b: *std.Build, target: std.Build.ResolvedTarget, optimize: std.
// No GLFW required on PLATFORM_DRM
if (options.platform != .drm) {
_ = std.debug.print("\n\n{s}\n\n", .{@src().file});
raylib.addIncludePath(b.path(b.pathJoin(&.{ srcDir(b), "external/glfw/include" })));
}

불러오는 중...
취소
저장