mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
fix syntax error in build
This commit is contained in:
parent
b5a0ca352a
commit
5f7137e778
@ -15,9 +15,9 @@ if libdrm_dep.found() and libdrm_amdgpu.found()
|
|||||||
cpp_args = []
|
cpp_args = []
|
||||||
deps = [ libdrm_amdgpu, libdrm_dep, boost_dep ]
|
deps = [ libdrm_amdgpu, libdrm_dep, boost_dep ]
|
||||||
if (python_with_hwdata.found())
|
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\'))')
|
'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'))
|
if (hwdata_version.version_compare('<2.4.1'))
|
||||||
warning('python-hwdata 2.4.1 is recommended for PCI.get_subsystem')
|
warning('python-hwdata 2.4.1 is recommended for PCI.get_subsystem')
|
||||||
endif
|
endif
|
||||||
|
Loading…
Reference in New Issue
Block a user