13 lines
423 B
Diff
13 lines
423 B
Diff
--- a/src/CMakeLists.txt
|
|
+++ b/src/CMakeLists.txt
|
|
@@ -699,7 +699,8 @@
|
|
DESTINATION ${KDE_INSTALL_INCLUDEDIR}/kwin/vulkan COMPONENT Devel
|
|
)
|
|
|
|
-if(CMAKE_SYSTEM_NAME MATCHES "Linux")
|
|
+option(KWIN_INSTALL_CAPABILITIES "Assign file capabilities during installation" ON)
|
|
+if(CMAKE_SYSTEM_NAME MATCHES "Linux" AND KWIN_INSTALL_CAPABILITIES)
|
|
install(
|
|
CODE "execute_process(
|
|
COMMAND ${SETCAP_EXECUTABLE}
|