diff --git a/cmake/toolchain/native.cmake b/cmake/toolchain/native.cmake index 6c8bd8ba4..5627e9484 100644 --- a/cmake/toolchain/native.cmake +++ b/cmake/toolchain/native.cmake @@ -1,2 +1,6 @@ # Native toolchain +if(APPLE) + set(CMAKE_C_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations") + set(CMAKE_CXX_FLAGS "-Wno-asm-operand-widths -Wno-deprecated-declarations") +endif()