diff --git a/CMakeLists.txt b/CMakeLists.txt index 6dc2f52b4c..4a034fd295 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -646,7 +646,7 @@ if (HAVE_LIBCAP) COMMAND ${SETCAP_EXECUTABLE} CAP_SYS_NICE=+ep - $ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/kwin_wayland)" + \$ENV{DESTDIR}${CMAKE_INSTALL_FULL_BINDIR}/kwin_wayland)" ) endif()