aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'thirdparty/xmake.lua')
-rw-r--r--thirdparty/xmake.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua
index 59233649a..f06eb6fff 100644
--- a/thirdparty/xmake.lua
+++ b/thirdparty/xmake.lua
@@ -67,7 +67,11 @@ target('cpr')
target('asio')
set_kind('headeronly')
set_group('thirdparty')
- add_defines("ASIO_STANDLONE", "ASIO_HEADER_ONLY", {public=true})
+ add_defines("ASIO_STANDALONE", "ASIO_HEADER_ONLY", {public=true})
+ if is_plat("linux") and not (get_config("toolchain") == "ue-clang") then
+ add_defines("ASIO_HAS_IO_URING", {public=true})
+ add_packages("liburing", {public=true})
+ end
add_headerfiles("asio/asio/include/**.hpp")
add_includedirs("asio/asio/include", {public=true})