aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/xmake.lua
diff options
context:
space:
mode:
authorLiam Mitchell <[email protected]>2025-08-22 16:12:38 -0700
committerGitHub Enterprise <[email protected]>2025-08-22 16:12:38 -0700
commit207c4a32612891711d9d69466b6dfc653428bb07 (patch)
treed4b8de42a91ee3327b14fc0aa66c92bc3de46555 /src/zenutil/xmake.lua
parent5.6.18-pre0 (diff)
parentMove windows service utilities to zenutil and fix clang-format errors (diff)
downloadzen-207c4a32612891711d9d69466b6dfc653428bb07.tar.xz
zen-207c4a32612891711d9d69466b6dfc653428bb07.zip
Merge pull request #139 from ue-foundation/de/zen-service-command
zen service command
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
+