From 6ad7be1b36b43ef2445feb83bdaf9b7c9c7b8ef5 Mon Sep 17 00:00:00 2001 From: Danylo Piliaiev Date: Tue, 21 Jun 2022 21:05:51 +0300 Subject: [PATCH] meson/pps: Check if libdrm exists to compile pps For Turnip with KGSL we may have perffeto enabled but we don't have libdrm. Signed-off-by: Danylo Piliaiev Reviewed-by: Emma Anholt Reviewed-by: Hyunjun Ko Part-of: --- src/tool/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tool/meson.build b/src/tool/meson.build index 826eeb06db9..cd9122eb8e2 100644 --- a/src/tool/meson.build +++ b/src/tool/meson.build @@ -3,7 +3,7 @@ # # SPDX-License-Identifier: MIT -if with_perfetto +if with_perfetto and dep_libdrm.found() subdir('pps') endif