aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenutil/xmake.lua')
-rw-r--r--src/zenutil/xmake.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/zenutil/xmake.lua b/src/zenutil/xmake.lua
index 3d95651f2..6d87aefcc 100644
--- a/src/zenutil/xmake.lua
+++ b/src/zenutil/xmake.lua
@@ -8,3 +8,11 @@ target('zenutil')
add_includedirs("include", {public=true})
add_deps("zencore", "zenhttp")
add_packages("vcpkg::robin-map", "vcpkg::spdlog")
+
+ if is_plat("linux") then
+ add_includedirs("$(projectdir)/thirdparty/systemd/include")
+ add_linkdirs("$(projectdir)/thirdparty/systemd/lib")
+ add_links("systemd")
+ add_links("cap")
+ end
+