[CMake] How to run an install command as administrator?

Juan Dent juandent at mac.com
Thu May 26 12:16:39 EDT 2016


Hi,

 

I have a simple CMakeLists.txt that tries to install at a place in the drive
that requires administrator privileges. How can I make that install command
to run as administrator, is there a way in CMake?

 

Regards,

Juan

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20160526/1954dd2c/attachment.html>


More information about the CMake mailing list