Ask windows to not define `min` and `max`.

pull/695/head
Matthieu Gautier 8 months ago
parent cebe079c11
commit 6a4b7508f0

@ -7,6 +7,10 @@ compiler = meson.get_compiler('cpp')
add_global_arguments('-DKIWIX_TOOLS_VERSION="@0@"'.format(meson.project_version()), language : 'cpp')
if host_machine.system() == 'windows'
add_project_arguments('-DNOMINMAX', language: 'cpp')
endif
static_linkage = get_option('static-linkage')
if static_linkage
# Static build is not supported on MacOS

Loading…
Cancel
Save