Correct installation of kwin_wayland when DESTDIR and libcap are used together

Based on patch for kinit: D8064.
This commit is contained in:
Martin Flöser 2017-10-10 19:54:07 +02:00
parent c2f5b3e5b1
commit f448691f54

View file

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