tools: add polkit agent to sysprof-cli

The goal for this is to be able to not use sudo to authenticate the user
and elevate privileges.
This commit is contained in:
Christian Hergert
2019-05-24 17:31:37 -07:00
parent aca6baa3bd
commit 88bf04cb37
3 changed files with 22 additions and 1 deletions

View File

@ -61,6 +61,7 @@ if polkit_dep.found()
else
polkit_dep = dependency('polkit-gobject-1', version: polkit_req_version)
endif
polkit_agent_dep = dependency('polkit-agent-1')
debugdir = get_option('debugdir')
if debugdir == ''