diff --git a/packages/f/faker-cxx/xmake.lua b/packages/f/faker-cxx/xmake.lua index de37830fc..7a89eab09 100644 --- a/packages/f/faker-cxx/xmake.lua +++ b/packages/f/faker-cxx/xmake.lua @@ -26,7 +26,7 @@ package("faker-cxx") end) end - on_install("!wasm", function (package) + on_install(function (package) local configs = {"-DBUILD_TESTING=OFF", "-DUSE_SYSTEM_DEPENDENCIES=ON", "-DUSE_STD_FORMAT=OFF"} table.insert(configs, "-DCMAKE_BUILD_TYPE=" .. (package:is_debug() and "Debug" or "Release")) table.insert(configs, "-DBUILD_SHARED_LIBS=" .. (package:config("shared") and "ON" or "OFF")) diff --git a/packages/i/inja/xmake.lua b/packages/i/inja/xmake.lua index ce66a3d74..382e079b3 100644 --- a/packages/i/inja/xmake.lua +++ b/packages/i/inja/xmake.lua @@ -13,7 +13,7 @@ package("inja") add_deps("cmake") add_deps("nlohmann_json", {configs = {cmake = true}}) - on_install("!wasm", function (package) + on_install(function (package) import("package.tools.cmake").install(package, { "-DINJA_INSTALL=ON", "-DINJA_USE_EMBEDDED_JSON=OFF", diff --git a/packages/r/reflect-cpp/xmake.lua b/packages/r/reflect-cpp/xmake.lua index 9d36b07ef..fdaad0c10 100644 --- a/packages/r/reflect-cpp/xmake.lua +++ b/packages/r/reflect-cpp/xmake.lua @@ -91,7 +91,7 @@ package("reflect-cpp") end end) - on_install("!wasm", function (package) + on_install(function (package) local version = package:version() if package:gitref() or version:lt("0.11.1") or version:ge("0.13.0") then local configs = {"-DREFLECTCPP_USE_BUNDLED_DEPENDENCIES=OFF"}