From 53061d96e91e779ab523dc09248eb09a2a4c01bb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 7 Oct 2022 17:20:31 -0400 Subject: Fix MacOS build --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index 1bd6426..183f7d7 100644 --- a/meson.build +++ b/meson.build @@ -77,11 +77,11 @@ if host_machine.system() == 'darwin' platform_suppressions = [ '-DGL_SILENCE_DEPRECATION', - '-Wl,-framework,Cocoa', '-Wno-deprecated-declarations', ] add_project_arguments(platform_suppressions, language: ['c', 'objc']) + add_project_link_arguments(['-Wl,-framework,Cocoa'], language: ['c', 'objc']) # Windows elif host_machine.system() == 'windows' -- cgit v1.2.1