mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-09-13 02:42:09 +02:00
GPU: fix build if libpciaccess is not available
This commit is contained in:
@@ -60,4 +60,9 @@ const char* ffDetectGPUImpl(FF_MAYBE_UNUSED const FFGPUOptions* options, FFlist*
|
||||
}
|
||||
|
||||
#else
|
||||
|
||||
const char* ffDetectGPUImpl(FF_MAYBE_UNUSED const FFGPUOptions* options, FF_MAYBE_UNUSED FFlist* gpus)
|
||||
{
|
||||
return "Fastfetch was built without libpciaccess support";
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user