We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b5a0ca3 commit 5f7137eCopy full SHA for 5f7137e
src/plugins/meson.build
@@ -15,9 +15,9 @@ if libdrm_dep.found() and libdrm_amdgpu.found()
15
cpp_args = []
16
deps = [ libdrm_amdgpu, libdrm_dep, boost_dep ]
17
if (python_with_hwdata.found())
18
- hwdata_version = run_command('python3', '-c',
+ hwdata_version_cmd = run_command('python3', '-c',
19
'from importlib.metadata import version; print(version(\'hwdata\'))')
20
- .stdout().strip()
+ hwdata_version = hwdata_version_cmd.stdout().strip()
21
if (hwdata_version.version_compare('<2.4.1'))
22
warning('python-hwdata 2.4.1 is recommended for PCI.get_subsystem')
23
endif
0 commit comments