diff options
author | Simon Ser <contact@emersion.fr> | 2023-12-12 15:25:10 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2023-12-12 10:04:14 -0500 |
commit | ff07eab85b5c6b728ad3cc99d02e9f2ae8b9854f (patch) | |
tree | fc4aa760eafe3a14c37fd11d8743c3b54e31de9c /meson.build | |
parent | Drop fglrx detection (diff) | |
download | sway-ff07eab85b5c6b728ad3cc99d02e9f2ae8b9854f.tar.gz sway-ff07eab85b5c6b728ad3cc99d02e9f2ae8b9854f.tar.zst sway-ff07eab85b5c6b728ad3cc99d02e9f2ae8b9854f.zip |
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') | |||
77 | libevdev = dependency('libevdev') | 77 | libevdev = dependency('libevdev') |
78 | libinput = wlroots_features['libinput_backend'] ? dependency('libinput', version: '>=1.21.0') : null_dep | 78 | libinput = wlroots_features['libinput_backend'] ? dependency('libinput', version: '>=1.21.0') : null_dep |
79 | xcb = dependency('xcb', required: get_option('xwayland')) | 79 | xcb = dependency('xcb', required: get_option('xwayland')) |
80 | drm_full = dependency('libdrm') # only needed for drm_fourcc.h | 80 | drm = dependency('libdrm') |
81 | drm = drm_full.partial_dependency(compile_args: true, includes: true) | ||
82 | libudev = wlroots_features['libinput_backend'] ? dependency('libudev') : null_dep | 81 | libudev = wlroots_features['libinput_backend'] ? dependency('libudev') : null_dep |
83 | math = cc.find_library('m') | 82 | math = cc.find_library('m') |
84 | rt = cc.find_library('rt') | 83 | rt = cc.find_library('rt') |