aboutsummaryrefslogtreecommitdiffstats
path: root/wintun.props
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2021-07-29 04:08:41 +0200
committerSimon Rozman <simon@rozman.si>2021-07-30 10:40:27 +0200
commit86521458e3985b42a5f603eb4008daf05f163fec (patch)
tree2736d79ae217b9f60db7844a99a93eb7ec3f9631 /wintun.props
parenteditorconfig: farewell wix (diff)
downloadwintun-86521458e3985b42a5f603eb4008daf05f163fec.tar.xz
wintun-86521458e3985b42a5f603eb4008daf05f163fec.zip
props: use ForcedTargetVersion for override
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Simon Rozman <simon@rozman.si>
Diffstat (limited to '')
-rw-r--r--wintun.props11
1 files changed, 7 insertions, 4 deletions
diff --git a/wintun.props b/wintun.props
index 05ede6a..f4f6a76 100644
--- a/wintun.props
+++ b/wintun.props
@@ -56,16 +56,19 @@
<UseDebugLibraries>true</UseDebugLibraries>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='Win32'" Label="Configuration">
- <TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
+ <TargetVersion>Windows7</TargetVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='ARM'" Label="Configuration">
- <TargetVersion Condition="'$(TargetVersion)'==''">Windows8</TargetVersion>
+ <TargetVersion>Windows8</TargetVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='x64'" Label="Configuration">
- <TargetVersion Condition="'$(TargetVersion)'==''">Windows7</TargetVersion>
+ <TargetVersion>Windows7</TargetVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Platform)'=='ARM64'" Label="Configuration">
- <TargetVersion Condition="'$(TargetVersion)'==''">Windows10</TargetVersion>
+ <TargetVersion>Windows10</TargetVersion>
+ </PropertyGroup>
+ <PropertyGroup Condition="'$(ForcedTargetVersion)'!=''">
+ <TargetVersion>$(ForcedTargetVersion)</TargetVersion>
</PropertyGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props" />
<ImportGroup Label="ExtensionSettings" />