meson: Do not enable OpenMP on clang-cl

Closes: #16145
This commit is contained in:
Bruno Lopes 2026-04-01 21:18:46 -03:00
parent 2832b15f0a
commit 27bb2a8721

View file

@ -1494,7 +1494,7 @@ conf.set10('ENABLE_MP', get_option('enable-multiproc'))
# Enable support for OpenMP
openmp = dependency('openmp', required : get_option('openmp'))
if openmp.found()
if openmp.found() and cc.get_id() != 'clang-cl' #libomp140*.dll is flaky
have_openmp = true
else
have_openmp = false