diff --git a/packages/a/abseil/xmake.lua b/packages/a/abseil/xmake.lua index 112651cfd..648a5fc39 100644 --- a/packages/a/abseil/xmake.lua +++ b/packages/a/abseil/xmake.lua @@ -17,7 +17,7 @@ package("abseil") add_deps("cmake") - add_configs("cxx_standard", {description = "Select c++ standard to build.", default = "14", type = "string", values = {"14", "17", "20"}}) + add_configs("cxx_standard", {description = "Select c++ standard to build.", default = "17", type = "string", values = {"14", "17", "20"}}) if is_plat("macosx") then add_frameworks("CoreFoundation") diff --git a/packages/g/grpc/xmake.lua b/packages/g/grpc/xmake.lua index 920a81c38..c05a1b145 100644 --- a/packages/g/grpc/xmake.lua +++ b/packages/g/grpc/xmake.lua @@ -23,7 +23,7 @@ package("grpc") add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true}) end - add_deps("c-ares", "re2", "abseil", "protobuf-cpp", "openssl", "zlib") + add_deps("c-ares", "re2", "protobuf-cpp", "openssl", "zlib", "abseil") if is_plat("linux") then add_syslinks("pthread", "dl", "m") diff --git a/packages/p/protobuf-cpp/xmake.lua b/packages/p/protobuf-cpp/xmake.lua index 405ab7d71..c170d5388 100644 --- a/packages/p/protobuf-cpp/xmake.lua +++ b/packages/p/protobuf-cpp/xmake.lua @@ -46,7 +46,7 @@ package("protobuf-cpp") package:add("deps", "zlib") end if package:version():ge("22.0") then - package:add("deps", "abseil", {configs = {cxx_standard = (package:is_plat("linux") and "17" or "14")}}) + package:add("deps", "abseil") end end)