浏览代码

cmake: Fix truncation warning being treated as an error with Ninja

PatTheMav 2 年之前
父节点
当前提交
e9972f5198
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      cmake/macos/compilerconfig.cmake

+ 1 - 0
cmake/macos/compilerconfig.cmake

@@ -50,6 +50,7 @@ if(NOT XCODE)
       -Wint-conversion
       -Wnewline-eof
       -Wno-conversion
+      -Wno-error=shorten-64-to-32
       -Wno-float-conversion
       -Wno-implicit-fallthrough
       -Wno-missing-braces