aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild
diff options
context:
space:
mode:
authorJosh Soref <2119212+jsoref@users.noreply.github.com>2023-04-10 23:39:57 -0400
committerEli Schwartz <eschwartz93@gmail.com>2023-04-11 19:21:05 -0400
commit93cafe7b14c23ba4b6ef59267c584714afb8f0e8 (patch)
treea4cc5d4bcd9e58a240663096f950523b3efb477e /mesonbuild
parent0551a8847d9b8a9daf0e2424ba6667de73c8c436 (diff)
downloadmeson-93cafe7b14c23ba4b6ef59267c584714afb8f0e8.zip
meson-93cafe7b14c23ba4b6ef59267c584714afb8f0e8.tar.gz
meson-93cafe7b14c23ba4b6ef59267c584714afb8f0e8.tar.bz2
backend/vs: Fix OpenMPSupport
https://learn.microsoft.com/en-us/visualstudio/msbuild/cl-task?view=vs-2022 Found by https://www.check-spelling.dev/ Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
Diffstat (limited to 'mesonbuild')
-rw-r--r--mesonbuild/backend/vs2010backend.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/backend/vs2010backend.py b/mesonbuild/backend/vs2010backend.py
index 86c50ec..7780230 100644
--- a/mesonbuild/backend/vs2010backend.py
+++ b/mesonbuild/backend/vs2010backend.py
@@ -1240,14 +1240,14 @@ class Vs2010Backend(backends.Backend):
# Extend without reordering or de-dup to preserve `-L -l` sets
# https://github.com/mesonbuild/meson/issues/1718
if isinstance(dep, dependencies.OpenMPDependency):
- ET.SubElement(clconf, 'OpenMPSuppport').text = 'true'
+ ET.SubElement(clconf, 'OpenMPSupport').text = 'true'
else:
extra_link_args.extend_direct(dep.get_link_args())
for d in target.get_dependencies():
if isinstance(d, build.StaticLibrary):
for dep in d.get_external_deps():
if isinstance(dep, dependencies.OpenMPDependency):
- ET.SubElement(clconf, 'OpenMPSuppport').text = 'true'
+ ET.SubElement(clconf, 'OpenMPSupport').text = 'true'
else:
extra_link_args.extend_direct(dep.get_link_args())
# Add link args for c_* or cpp_* build options. Currently this only