aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-24 10:35:48 +0100
committerMartin Ridgers <[email protected]>2021-11-24 15:56:33 +0100
commit3514ea6de7fd2facbed6d6bfea3c8e17cc6984f5 (patch)
tree619803724963c0601eb7fa1eca26b72488790d5d
parentTests for NamedEvent (diff)
downloadzen-3514ea6de7fd2facbed6d6bfea3c8e17cc6984f5.tar.xz
zen-3514ea6de7fd2facbed6d6bfea3c8e17cc6984f5.zip
Moved librt dependency specification to zencore/xmake.lua
-rw-r--r--zencore/xmake.lua4
-rw-r--r--zenutil/xmake.lua6
2 files changed, 5 insertions, 5 deletions
diff --git a/zencore/xmake.lua b/zencore/xmake.lua
index 90f070ddb..738fe5796 100644
--- a/zencore/xmake.lua
+++ b/zencore/xmake.lua
@@ -43,3 +43,7 @@ target('zencore')
add_syslinks("crypto")
add_syslinks("dl")
end
+
+ if is_plat("linux") then
+ add_syslinks("rt")
+ end
diff --git a/zenutil/xmake.lua b/zenutil/xmake.lua
index b7f08afb9..7cd29a86f 100644
--- a/zenutil/xmake.lua
+++ b/zenutil/xmake.lua
@@ -3,8 +3,4 @@ target('zenutil')
add_files("**.cpp")
add_includedirs("include", {public=true})
add_deps("zencore")
- add_packages("vcpkg::spdlog")
-
- if is_plat("linux") then
- add_syslinks("rt")
- end \ No newline at end of file
+ add_packages("vcpkg::spdlog") \ No newline at end of file