Honor DESTDIR env variable in setcap command

This commit is contained in:
Martin Flöser 2017-10-04 18:33:55 +02:00
parent 269ec5bbce
commit 65fcde7426

View file

@ -646,7 +646,7 @@ if (HAVE_LIBCAP)
COMMAND
${SETCAP_EXECUTABLE}
CAP_SYS_NICE=+ep
${CMAKE_INSTALL_FULL_BINDIR}/kwin_wayland)"
$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/kwin_wayland)"
)
endif()