Skip to content

Commit

Permalink
MSBuildDeps: map armv7 and armv8 msbuild platforms
Browse files Browse the repository at this point in the history
Fixes #11504
  • Loading branch information
Mark Ferry committed Jun 23, 2022
1 parent 49938b9 commit 37aa6ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions conan/tools/microsoft/msbuilddeps.py
Expand Up @@ -6,6 +6,7 @@
from jinja2 import Template

from conan.tools._check_build_profile import check_using_build_profile
from conan.tools.microsoft.msbuild import msbuild_arch
from conans.errors import ConanException
from conans.util.files import load, save

Expand Down Expand Up @@ -105,8 +106,7 @@ class MSBuildDeps(object):
def __init__(self, conanfile):
self._conanfile = conanfile
self.configuration = conanfile.settings.build_type
self.platform = {'x86': 'Win32',
'x86_64': 'x64'}.get(str(conanfile.settings.arch))
self.platform = msbuild_arch(conanfile.settings.arch)
# ca_exclude section
# TODO: Accept single strings, not lists
self.exclude_code_analysis = self._conanfile.conf.get("tools.microsoft.msbuilddeps:exclude_code_analysis",
Expand Down

0 comments on commit 37aa6ad

Please sign in to comment.