Skip to content

Commit

Permalink
fix syntax error in build
Browse files Browse the repository at this point in the history
  • Loading branch information
Lurkki14 committed Nov 14, 2023
1 parent b5a0ca3 commit 5f7137e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plugins/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ if libdrm_dep.found() and libdrm_amdgpu.found()
cpp_args = []
deps = [ libdrm_amdgpu, libdrm_dep, boost_dep ]
if (python_with_hwdata.found())
hwdata_version = run_command('python3', '-c',
hwdata_version_cmd = run_command('python3', '-c',
'from importlib.metadata import version; print(version(\'hwdata\'))')
.stdout().strip()
hwdata_version = hwdata_version_cmd.stdout().strip()
if (hwdata_version.version_compare('<2.4.1'))
warning('python-hwdata 2.4.1 is recommended for PCI.get_subsystem')
endif
Expand Down

0 comments on commit 5f7137e

Please sign in to comment.