aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/zenutil/xmake.lua7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/zenutil/xmake.lua b/src/zenutil/xmake.lua
index 57ee66b9b..fa6ab088e 100644
--- a/src/zenutil/xmake.lua
+++ b/src/zenutil/xmake.lua
@@ -8,5 +8,8 @@ target('zenutil')
add_includedirs("include", {public=true})
add_deps("zencore", "zentrack")
add_packages("vcpkg::spdlog")
- add_packages("vcpkg::detours")
- add_syslinks("detours")
+
+ if is_os("windows") then
+ add_packages("vcpkg::detours")
+ add_syslinks("detours")
+ end