fix building tests

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-08-03 20:47:45 -07:00
parent 581ae55319
commit b250f2c068

View file

@ -50,7 +50,7 @@ pub fn build(b: *Build) !void {
.optimize = main_tests.optimize,
}).artifact("vulkan-headers"));
if (main_tests.target_info.target.os.tag == .macos) {
@import("xcode_frameworks").addPaths(b, lib);
@import("xcode_frameworks").addPaths(b, main_tests);
}
}