diff options
Diffstat (limited to 'PCbuild')
-rw-r--r-- | PCbuild/pyproject.props | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/PCbuild/pyproject.props b/PCbuild/pyproject.props index 9db400e..b8d2d3d 100644 --- a/PCbuild/pyproject.props +++ b/PCbuild/pyproject.props @@ -233,7 +233,10 @@ public override bool Execute() { </Target> <Target Name="FindVCRuntime" Returns="VCRuntimeDLL" DependsOnTargets="FindVCRedistDir"> - <ItemGroup Condition="$(VCInstallDir) != ''"> + <ItemGroup Condition="$(VCRuntimeDLL) != ''"> + <VCRuntimeDLL Include="$(VCRuntimeDLL)" /> + </ItemGroup> + <ItemGroup Condition="$(VCInstallDir) != '' and $(VCRuntimeDLL) == ''"> <VCRuntimeDLL Include="$(VCRedistDir)\Microsoft.VC*.CRT\vcruntime*.dll" /> </ItemGroup> |