diff --git a/build/secondary/third_party/glfw/BUILD.gn b/build/secondary/third_party/glfw/BUILD.gn index 05faf5428cf..0a043f8b2b4 100644 --- a/build/secondary/third_party/glfw/BUILD.gn +++ b/build/secondary/third_party/glfw/BUILD.gn @@ -93,7 +93,15 @@ source_set("glfw") { defines = [ "_GLFW_COCOA" ] - cflags = [ "-Wno-deprecated-declarations" ] + cflags = [ + "-Wno-deprecated-declarations", + "-Wno-objc-multiple-method-names", + ] + + frameworks = [ + "CoreVideo.framework", + "IOKit.framework", + ] } configs -= [ "//build/config/compiler:chromium_code" ]