From fc9a2768a1212683fe6fe607d20a4da568e03904 Mon Sep 17 00:00:00 2001 From: Jim Mussared Date: Tue, 6 Jun 2023 23:09:58 +1000 Subject: [PATCH] windows/msvc/paths.props: Dont add variant path to PyIncDirs. This file is shared by mpy-cross.vcxproj, where PyVariant will be not set (because common.props explicitly doesn't set it when building mpy-cross). Update common.props to only add the variant path to PyIncDirs if not building mpy-cross. This work was funded through GitHub Sponsors. Signed-off-by: Jim Mussared --- ports/windows/msvc/common.props | 3 +++ ports/windows/msvc/paths.props | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/ports/windows/msvc/common.props b/ports/windows/msvc/common.props index 55c9c934f22ea..da84004f7f61d 100644 --- a/ports/windows/msvc/common.props +++ b/ports/windows/msvc/common.props @@ -19,6 +19,9 @@ $(PyBuildDir)copycookie$(Configuration)$(Platform) MultiByte + + $(PyIncDirs);$(PyVariantDir) + $(PyIncDirs);%(AdditionalIncludeDirectories) diff --git a/ports/windows/msvc/paths.props b/ports/windows/msvc/paths.props index 767772a1aaf2e..1268471cef96d 100644 --- a/ports/windows/msvc/paths.props +++ b/ports/windows/msvc/paths.props @@ -31,8 +31,8 @@ $(PyWinDir)variants\$(PyVariant)\ $(PyBuildDir) - - $(PyIncDirs);$(PyBaseDir);$(PyWinDir);$(PyBuildDir);$(PyWinDir)msvc;$(PyVariantDir) + + $(PyIncDirs);$(PyBaseDir);$(PyWinDir);$(PyBuildDir);$(PyWinDir)msvc

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy