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                                    
======================================================================

-- 

Powered by www.kitware.com

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to