build: fix lazy xcode-frameworks dep
This commit is contained in:
parent
f326b73457
commit
389082e4ac
1 changed files with 1 additions and 2 deletions
|
|
@ -22,8 +22,7 @@ pub fn build(b: *std.Build) void {
|
||||||
mod.addOptions("build_options", options);
|
mod.addOptions("build_options", options);
|
||||||
|
|
||||||
if (use_fsevents) {
|
if (use_fsevents) {
|
||||||
const xcode_frameworks = b.lazyDependency("xcode-frameworks", .{}) orelse
|
const xcode_frameworks = b.lazyDependency("xcode-frameworks", .{}) orelse return;
|
||||||
@panic("xcode-frameworks dependency not available");
|
|
||||||
mod.addSystemFrameworkPath(xcode_frameworks.path("Frameworks"));
|
mod.addSystemFrameworkPath(xcode_frameworks.path("Frameworks"));
|
||||||
mod.addLibraryPath(xcode_frameworks.path("lib"));
|
mod.addLibraryPath(xcode_frameworks.path("lib"));
|
||||||
mod.linkFramework("CoreServices", .{});
|
mod.linkFramework("CoreServices", .{});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue