Explorar el Código

Remove vulkan-hpp warnings as errors (#3978)

Latias94 hace 1 año
padre
commit
8bcefba3d8
Se han modificado 1 ficheros con 2 adiciones y 0 borrados
  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)