Commit 80c94cb2 authored by Antonio Rojas's avatar Antonio Rojas

Take DESTDIR into account when running setcap

Otherwise this tries to setcap the wrong file
parent b1ab276c
......@@ -157,7 +157,7 @@ if (HAVE_LIBCAP)
COMMAND
${SETCAP_EXECUTABLE}
CAP_WAKE_ALARM=+ep
${KDE_INSTALL_FULL_LIBEXECDIR}/org_kde_powerdevil)"
\$ENV{DESTDIR}${KDE_INSTALL_FULL_LIBEXECDIR}/org_kde_powerdevil)"
)
endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment