2
0
xq114 3 жил өмнө
parent
commit
a6df4ee5ec

+ 2 - 1
packages/o/oatpp/xmake.lua

@@ -8,6 +8,7 @@ package("oatpp")
              "https://github.com/oatpp/oatpp.git")
              "https://github.com/oatpp/oatpp.git")
     add_versions("1.0.0", "9ba7c75e3ada8ec894ec10beae712e775774a835fd3de89d8c34e17740202619")
     add_versions("1.0.0", "9ba7c75e3ada8ec894ec10beae712e775774a835fd3de89d8c34e17740202619")
     add_versions("1.2.5", "36276e8b23e68ece1e6093c3f06fc80e3d42a5f4e47cdeef5e7e63f36eeddaad")
     add_versions("1.2.5", "36276e8b23e68ece1e6093c3f06fc80e3d42a5f4e47cdeef5e7e63f36eeddaad")
+    add_versions("1.3.0", "e1f80fa8fd7a74da6737e7fee1a4db68b4d7085a3f40e7d550752d6ff5714583")
 
 
     if is_plat("windows") then
     if is_plat("windows") then
         add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
         add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true})
@@ -35,7 +36,7 @@ package("oatpp")
     on_test(function (package)
     on_test(function (package)
         assert(package:check_cxxsnippets({test = [[
         assert(package:check_cxxsnippets({test = [[
             #include "oatpp/encoding/Base64.hpp"
             #include "oatpp/encoding/Base64.hpp"
-            void test(int argc, char** argv) {
+            void test() {
                 oatpp::String message = "oat++ web framework";
                 oatpp::String message = "oat++ web framework";
                 oatpp::String messageEncoded = "b2F0Kysgd2ViIGZyYW1ld29yaw==";
                 oatpp::String messageEncoded = "b2F0Kysgd2ViIGZyYW1ld29yaw==";
                 {
                 {