Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit92a41ec

Browse files
committed
samples common: fix cgltf paths
1 parent24527b3 commit92a41ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎samples/common/build.zig

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@ pub fn link(compile_step: *std.Build.Step.Compile, deps: struct {
4343

4444
lib.addIncludePath(zmesh.path("libs/cgltf"));
4545
lib.addCSourceFile(.{
46-
.file=b.path("libs/zmesh/libs/cgltf/cgltf.c"),
46+
.file=zmesh.path("libs/cgltf/cgltf.c"),
4747
.flags= &.{"-std=c99"},
4848
});
4949

5050
lib.addIncludePath(b.path("samples/common/libs"));
51-
lib.addIncludePath(b.path(zmesh.path("libs/cgltf")));
51+
lib.addIncludePath(zmesh.path("libs/cgltf"));
5252

5353
constmodule=b.createModule(.{
5454
.root_source_file=b.path("samples/common/src/common.zig"),
@@ -58,7 +58,7 @@ pub fn link(compile_step: *std.Build.Step.Compile, deps: struct {
5858
},
5959
});
6060
module.addIncludePath(b.path("samples/common/libs/imgui"));
61-
module.addIncludePath(b.path(zmesh.path("libs/cgltf")));
61+
module.addIncludePath(zmesh.path("libs/cgltf"));
6262

6363
compile_step.root_module.addImport("common",module);
6464

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp