diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2023-12-12 15:25:10 +0100 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2023-12-12 15:25:10 +0100 |
| commit | fb5c13bbf3dd34978673be6b0b66cbef48ab7e96 (patch) | |
| tree | fc4aa760eafe3a14c37fd11d8743c3b54e31de9c /meson.build | |
| parent | 654320aa6bf622d2a87e8b22b5daa32b6279d148 (diff) | |
Detect Nvidia proprietary driver via drmGetVersion()
This is less punishing for users with the Nvidia driver loaded but
not used by Sway (e.g. for CUDA).
Diffstat (limited to 'meson.build')
| -rw-r--r-- | meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meson.build b/meson.build index adf49c19..e65723b6 100644 --- a/meson.build +++ b/meson.build @@ -77,8 +77,7 @@ pixman = dependency('pixman-1') libevdev = dependency('libevdev') libinput = wlroots_features['libinput_backend'] ? dependency('libinput', version: '>=1.21.0') : null_dep xcb = dependency('xcb', required: get_option('xwayland')) -drm_full = dependency('libdrm') # only needed for drm_fourcc.h -drm = drm_full.partial_dependency(compile_args: true, includes: true) +drm = dependency('libdrm') libudev = wlroots_features['libinput_backend'] ? dependency('libudev') : null_dep math = cc.find_library('m') rt = cc.find_library('rt') |
