aboutsummaryrefslogtreecommitdiff
path: root/meson.build
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2024-06-11 22:21:00 +0200
committerdec05eba <dec05eba@protonmail.com>2024-06-11 22:21:00 +0200
commit5f24cd6de6be57da2f36aa047c50285625213b47 (patch)
tree43ef6acab2c524de27b0d5a500bcd38a3c7befc2 /meson.build
parente78e03891e66da24ddcc30779a1ba4fdcd0250a8 (diff)
Make setcap for install optional
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build6
1 files changed, 4 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index e7f467b..e41cfa0 100644
--- a/meson.build
+++ b/meson.build
@@ -8,6 +8,7 @@ elif get_option('buildtype') == 'release'
endif
src = [
+ 'kms/client/kms_client.c',
'src/capture/capture.c',
'src/capture/nvfbc.c',
'src/capture/xcomposite.c',
@@ -16,7 +17,6 @@ src = [
'src/capture/kms_vaapi.c',
'src/capture/kms_cuda.c',
'src/capture/kms.c',
- 'kms/client/kms_client.c',
'src/egl.c',
'src/cuda.c',
'src/xnvctrl.c',
@@ -55,4 +55,6 @@ if get_option('systemd') == true
install_data(files('extra/gpu-screen-recorder.service'), install_dir : '/usr/lib/systemd/user')
endif
-meson.add_install_script('extra/meson_post_install.sh')
+if get_option('capabilities') == true
+ meson.add_install_script('extra/meson_post_install.sh')
+endif