summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-01-30 19:17:43 -0800
committerMitchell Hashimoto <mitchell.hashimoto@gmail.com>2023-01-30 19:17:43 -0800
commit60fca27c338b088a8eb004e3d6b08deda449feee (patch)
treebd2e4f9dbfe583dfed63ea239b1346a6b4e752af
parente438539a145b49c85019f600dfa78230411b1125 (diff)
vendor/libxev
-rw-r--r--.gitmodules3
-rw-r--r--build.zig2
m---------vendor/libxev0
3 files changed, 5 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
index 2ae7ddc86..e6cbb2ded 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -40,3 +40,6 @@
[submodule "vendor/zig-objc"]
path = vendor/zig-objc
url = https://github.com/mitchellh/zig-objc.git
+[submodule "vendor/libxev"]
+ path = vendor/libxev
+ url = https://github.com/mitchellh/libxev.git
diff --git a/build.zig b/build.zig
index e14e97ed3..0a8093e80 100644
--- a/build.zig
+++ b/build.zig
@@ -8,6 +8,7 @@ const freetype = @import("pkg/freetype/build.zig");
const harfbuzz = @import("pkg/harfbuzz/build.zig");
const imgui = @import("pkg/imgui/build.zig");
const js = @import("vendor/zig-js/build.zig");
+const libxev = @import("vendor/libxev/build.zig");
const libxml2 = @import("vendor/zig-libxml2/libxml2.zig");
const libuv = @import("pkg/libuv/build.zig");
const libpng = @import("pkg/libpng/build.zig");
@@ -275,6 +276,7 @@ fn addDeps(
step.addPackage(harfbuzz.pkg);
step.addPackage(imgui.pkg);
step.addPackage(glfw.pkg);
+ step.addPackage(libxev.pkg);
step.addPackage(libuv.pkg);
step.addPackage(pixman.pkg);
step.addPackage(stb_image_resize.pkg);
diff --git a/vendor/libxev b/vendor/libxev
new file mode 160000
+Subproject 17d2cad4918997e36da50416acae3afd70a6330