aboutsummaryrefslogtreecommitdiff
path: root/src/zenutil/xmake.lua
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2023-12-06 21:05:51 +0100
committerStefan Boberg <[email protected]>2023-12-06 21:05:51 +0100
commit68ba9642aff23c906a074dc9c2856f157413f870 (patch)
tree806d8a5d1abcb3af2646d9615ca017f581def03b /src/zenutil/xmake.lua
parentMac build fix (diff)
downloadzen-68ba9642aff23c906a074dc9c2856f157413f870.tar.xz
zen-68ba9642aff23c906a074dc9c2856f157413f870.zip
linux/mac build fix
Diffstat (limited to 'src/zenutil/xmake.lua')
-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