소스 검색

faker-cxx: Improve on_check

star9029 7 달 전
부모
커밋
04b34dd272
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      packages/f/faker-cxx/xmake.lua

+ 2 - 2
packages/f/faker-cxx/xmake.lua

@@ -16,13 +16,13 @@ package("faker-cxx")
         on_check(function (package)
         on_check(function (package)
             if package:version() and package:version():ge("4.0.0") then
             if package:version() and package:version():ge("4.0.0") then
                 if package:is_plat("mingw") then
                 if package:is_plat("mingw") then
-                    raise("package(faker-cxx v4.0.1) unsupported platform")
+                    raise("package(faker-cxx v4.0.1) unsupported platform. You can open a pr to fix build error")
                 elseif package:is_plat("windows") then
                 elseif package:is_plat("windows") then
                     local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
                     local vs_toolset = package:toolchain("msvc"):config("vs_toolset")
                     if vs_toolset then
                     if vs_toolset then
                         local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
                         local vs_toolset_ver = import("core.base.semver").new(vs_toolset)
                         local minor = vs_toolset_ver:minor()
                         local minor = vs_toolset_ver:minor()
-                        assert(minor and minor >= 30, "package(bqlog) require vs_toolset >= 14.3")
+                        assert(minor and minor >= 30, "package(faker-cxx) require vs_toolset >= 14.3")
                     end
                     end
                 end
                 end
             end
             end