Resolve "(cmake): update Windows shell script template to require administrator privileges when needed"
requested to merge 834-cmake-update-windows-shell-script-template-to-require-administrator-privileges-when-needed into dev
Description
- Add cmake parameter to ask for privilege escalation on Windows
Closes #834 (closed)
How to test it?
- Choose an app or util target and add the
REQUIRE_ADMIN ON
flag to thesight_add_target( ... )
function - Ensure that the app then requests privilege escalation, when launching the bat file
- Ask @aancel1 for other tests to be performed