I'm trying to use this in my CMake file for a simple executable:

SET_TARGET_PROPERTIES(
        your_executable 
        PROPERTIES LINK_FLAGS "/MANIFESTUAC:\"level='requireAdministrator' 
uiAccess='false'\"")

This worked in vs2008, but not in vs2010. The project contains:

<UACUIAccess>level='requireAdministrator' uiAccess='false'</UACUIAccess>

But needs:

<UACExecutionLevel>requireAdministrator</UACExecutionLevel>
<UACUIAccess>false</UACUIAccess>

Am I using this the correct way, or is there a way to do it to get the 
desired results?
---
Aaron Wright
_______________________________________________
Powered by www.kitware.com

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

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

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to