diff --git a/subprojects/win-nasm/meson.build b/subprojects/win-nasm/meson.build index d7775f56fb..40b5bc2656 100644 --- a/subprojects/win-nasm/meson.build +++ b/subprojects/win-nasm/meson.build @@ -2,6 +2,10 @@ project('win-nasm', version : '2.14.02') py3 = import('python3').find_python() +if host_machine.system() != 'windows' + error('Can only download nasm for Windows, sorry') +endif + message('Downloading and extracting nasm binaries for Windows...') arch = host_machine.cpu_family()