Skip to content

Resolve "(cmake): update Windows shell script template to require administrator privileges when needed"

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 the sight_add_target( ... ) function
  • Ensure that the app then requests privilege escalation, when launching the bat file
  • Ask @aancel1 for other tests to be performed
Edited by Alexandre ANCEL

Merge request reports