Skip to content

Commit 3bca74c

Browse files
committed
Change Meson to explicitly specify older MacOS target
1 parent e796b5e commit 3bca74c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

meson.build

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ endif
1212
zlib_dep = dependency('zlib')
1313
curl_dep = dependency('libcurl')
1414

15+
# Added flag based on https://stackoverflow.com/a/37729971/319066
16+
# and arguments based on https://mesonbuild.com/Adding-arguments.html
17+
add_project_arguments('-mmacos-version-min=10.12', language : 'c')
18+
add_project_arguments('-mmacos-version-min=10.12', language : 'cpp')
19+
1520
# Import the extension module that knows how
1621
# to invoke Qt tools.
1722
qt5 = import('qt5')

0 commit comments

Comments
 (0)