[CMake] Setting /MANIFESTUAC:NO with Visual Studio 2012 is ignored
Eric Berge
ericmberge at gmail.com
Fri May 2 11:59:10 EDT 2014
I am updating our cmake files from Visual Studio 2008 to 2012 and the
setting of CMAKE_EXE_LINKER_FLAGS to include /MANIFESTUAC:NO (which worked
with VS2008) appears to be ignored. The resulting exe files have the
following manifest in them:
<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
<trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
<security>
<requestedPrivileges>
<requestedExecutionLevel level='asInvoker' uiAccess='false' />
</requestedPrivileges>
</security>
</trustInfo>
</assembly>
I'm not sure, but I believe this is due to the following being included for
the RelWithDebInfo build I'm doing:
<GenerateManifest
Condition="'$(Configuration)|$(Platform)'=='RelWithDebInfo|x64'">true</GenerateManifest>
and I expect this should be "false" (but I'm not sure whether there are
other parts of the Visual Studio project file that need to be updated as
well.
I believe this is another manifestation or is at least related to issue
12963 - http://public.kitware.com/Bug/view.php?id=12963
So I'm probably requesting that issue be bumped from "backlog" status.
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20140502/18a05492/attachment.html>
More information about the CMake
mailing list