mirror of
https://github.com/Lurkki14/tuxclocker.git
synced 2025-02-25 18:55:24 -06:00
attempt to fix build
This commit is contained in:
parent
7f1044b322
commit
459a298f34
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user