File tree Expand file tree Collapse file tree 6 files changed +6
-6
lines changed
zig_glfw_opengl3_image_load Expand file tree Collapse file tree 6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ pub fn build(b: *std.Build) void {
39
39
.optimize = optimize ,
40
40
});
41
41
// Load Icon
42
- exe .addWin32ResourceFile (.{ .file = .{ . path = "src/res/res.rc" } });
42
+ exe .addWin32ResourceFile (.{ .file = b . path ( "src/res/res.rc" ) });
43
43
//----------------------------------
44
44
// Detect 32bit or 64bit Winddws OS
45
45
//----------------------------------
You can’t perform that action at this time.
0 commit comments