summaryrefslogtreecommitdiffstats
path: root/Source/cmVisualStudio10TargetGenerator.cxx
diff options
context:
space:
mode:
authorcomicfans <comicfans44@gmail.com>2017-09-10 09:39:04 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-18 15:53:22 (GMT)
commit3232f84c19b86184cb7c2db137b97ccb9aec20cc (patch)
treee501ab9d8d15456e731bc323c118c2d3b4285eff /Source/cmVisualStudio10TargetGenerator.cxx
parente18ab9c4b2fc3b11a1e246b1418d25382a853bfb (diff)
downloadCMake-3232f84c19b86184cb7c2db137b97ccb9aec20cc.zip
CMake-3232f84c19b86184cb7c2db137b97ccb9aec20cc.tar.gz
CMake-3232f84c19b86184cb7c2db137b97ccb9aec20cc.tar.bz2
VS: Fix MANIFESTUAC link flag map to .vcxproj elements
Add special parsing of the flags given in `/MANIFESTUAC:"..."` in order to map them correctly to `.vcxproj` elements. Keep the old incorrect flag table entries for `uiAccess` and `level` flags for compatibility even though they do not really exist. Fixes: #16563
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
-rw-r--r--Source/cmVisualStudio10TargetGenerator.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx
index 7fe2f2a..b965013 100644
--- a/Source/cmVisualStudio10TargetGenerator.cxx
+++ b/Source/cmVisualStudio10TargetGenerator.cxx
@@ -3261,6 +3261,7 @@ bool cmVisualStudio10TargetGenerator::ComputeLinkOptions(
}
linkOptions.Parse(flags.c_str());
+ linkOptions.FixManifestUACFlags();
if (this->MSTools) {
cmGeneratorTarget::ModuleDefinitionInfo const* mdi =