From d2fcc6748aa2a7888fc1d0d8366f19141c2cf2c0 Mon Sep 17 00:00:00 2001
From: Brad King <brad.king@kitware.com>
Date: Thu, 24 Jan 2019 13:01:30 -0500
Subject: [PATCH] VS: Fix `/MANIFESTUAC:NO` link flag mapping for v142

Apply the change from commit 1d00fd7702 (VS: Fix /MANIFESTUAC:NO linker
option mapping, 2018-11-21) to the v142 flag table.

There are no versions of `/MANIFESTUAC:NO` where addition values are
appended.  Remove both of the `MANIFESTUAC:NO` entries from our flag
tables and replace them with one which would set `EnableUAC` to false
and immediately stop processing the `/MANIFESTUAC:NO` option.
---
 Templates/MSBuild/FlagTables/v142_Link.json | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/Templates/MSBuild/FlagTables/v142_Link.json b/Templates/MSBuild/FlagTables/v142_Link.json
index acdb5ac1c0e..481468edb8b 100644
--- a/Templates/MSBuild/FlagTables/v142_Link.json
+++ b/Templates/MSBuild/FlagTables/v142_Link.json
@@ -648,11 +648,7 @@
     "switch": "MANIFESTUAC:NO",
     "comment": "Enable User Account Control (UAC)",
     "value": "false",
-    "flags": [
-      "UserValue",
-      "UserIgnored",
-      "Continue"
-    ]
+    "flags": []
   },
   {
     "name": "EnableUAC",
-- 
GitLab