Skip to content

Commit

Permalink
async_simple: remove limit plat (#5090)
Browse files Browse the repository at this point in the history
* async_simple: remove limit plat

* only linux & macosx non-header only
  • Loading branch information
star-hengxing authored Sep 5, 2024
1 parent 9eee25a commit df1c44c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/a/async_simple/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@ package("async_simple")

add_deps("cmake")

on_load("windows", function (package)
on_load("!linux and !macosx", function (package)
package:set("kind", "library", {headeronly = true})
end)

on_install("windows", "linux", "macosx", function (package)
on_install(function (package)
if package:version():le("1.3") then
io.replace("async_simple/CMakeLists.txt",
[[file(GLOB coro_header "coro/*.h")]],
Expand Down

0 comments on commit df1c44c

Please sign in to comment.