diff --git a/cmake/modules/DispatchCompilerWarnings.cmake b/cmake/modules/DispatchCompilerWarnings.cmake index 6ef9d3164..35b80f3ec 100644 --- a/cmake/modules/DispatchCompilerWarnings.cmake +++ b/cmake/modules/DispatchCompilerWarnings.cmake @@ -62,6 +62,7 @@ else() add_compile_options($<$,$>:-Wno-unreachable-code-aggressive>) add_compile_options($<$,$>:-Wno-unused-macros>) add_compile_options($<$,$>:-Wno-used-but-marked-unused>) + add_compile_options($<$,$>:-Wno-void-pointer-to-int-cast>) add_compile_options($<$,$>:-Wno-vla>) if(CMAKE_SYSTEM_NAME STREQUAL Android)