فهرست منبع

async_simple: remove limit plat (#5090)

* async_simple: remove limit plat

* only linux & macosx non-header only
star9029 1 سال پیش
والد
کامیت
df1c44cc0a
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      packages/a/async_simple/xmake.lua

+ 2 - 2
packages/a/async_simple/xmake.lua

@@ -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")]],