Browse Source

Remove vulkan-hpp warnings as errors (#3978)

Latias94 1 năm trước cách đây
mục cha
commit
8bcefba3d8
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/v/vulkan-hpp/xmake.lua

+ 2 - 0
packages/v/vulkan-hpp/xmake.lua

@@ -49,6 +49,8 @@ package("vulkan-hpp")
             package:plat_set(os.host())
             package:arch_set(os.arch())
         end
+        io.replace("CMakeLists.txt", "-Werror", "", {plain = true})
+        io.replace("CMakeLists.txt", "/WX", "", {plain = true})
         import("package.tools.cmake").build(package, {buildir = "build"})
         if arch_prev and plat_prev then
             package:plat_set(plat_prev)