Fixed macos/ios errors (#4138)

This commit is contained in:
Lywx
2024-05-08 17:30:22 -06:00
committed by GitHub
parent 22c9d53985
commit 1231b8f9fa
3 changed files with 3 additions and 2 deletions

View File

@@ -547,6 +547,7 @@ if (CMAKE_CXX_COMPILER_ID MATCHES "GNU|Clang|AppleClang")
-Wno-parentheses
-Wno-narrowing
-Wno-missing-braces
-Wno-int-conversion
$<$<COMPILE_LANGUAGE:C>:
-Werror-implicit-function-declaration
-Wno-incompatible-pointer-types