[cmake-developers] [CMake 0015146]: MANIFESTUAC-Link flag results in vcxproj errors
Mantis Bug Tracker
mantis at public.kitware.com
Wed Sep 10 06:58:40 EDT 2014
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=15146
======================================================================
Reported By: Soeren Textor
Assigned To:
======================================================================
Project: CMake
Issue ID: 15146
Category: CMake
Reproducibility: always
Severity: major
Priority: high
Status: new
======================================================================
Date Submitted: 2014-09-10 06:58 EDT
Last Modified: 2014-09-10 06:58 EDT
======================================================================
Summary: MANIFESTUAC-Link flag results in vcxproj errors
Description:
Adding the UAC flag like
set_target_properties( XXX PROPERTIES LINK_FLAGS_DEBUG
"MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\"" )
Therefore we obtain inside the vcxproj:
<EnableUAC>true</EnableUAC>
<UACUIAccess>level='requireAdministrator' uiAccess='false'</UACUIAccess>
Instead of:
<EnableUAC>true</EnableUAC>
<UACUIAccess>false</UACUIAccess>
<UACExecutionLevel>RequireAdministrator</UACExecutionLevel>
what results in link errors
Steps to Reproduce:
Adding the UAC flag like
set_target_properties( XXX PROPERTIES LINK_FLAGS_DEBUG
"MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\"" )
and build a VS2013 project file
Additional Information:
I know there is antoher wa of adding link flags since 3.0, but we also use camke
2.8 and there it's teh same problem
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2014-09-10 06:58 Soeren Textor New Issue
======================================================================
More information about the cmake-developers
mailing list