Hello :)
I'm trying to set the RequireAdministrator manifest flag on an executable I'm building with CMake and Visual Studio.
Any ideas on how to direct CMake to set that option?
Thanks!
Billy3
Hello :)
I'm trying to set the RequireAdministrator manifest flag on an executable I'm building with CMake and Visual Studio.
Any ideas on how to direct CMake to set that option?
Thanks!
Billy3
try this:
SET_TARGET_PROPERTIES(your_executable PROPERTIES LINK_FLAGS "/MANIFESTUAC:\"level='requireAdministrator' uiAccess='false'\" /SUBSYSTEM:WINDOWS")