Mesa (main): meson/pps: Check if libdrm exists to compile pps
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 22 09:34:11 UTC 2022
Module: Mesa
Branch: main
Commit: 6ad7be1b36b43ef2445feb83bdaf9b7c9c7b8ef5
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=6ad7be1b36b43ef2445feb83bdaf9b7c9c7b8ef5
Author: Danylo Piliaiev <dpiliaiev at igalia.com>
Date: Tue Jun 21 21:05:51 2022 +0300
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 <dpiliaiev at igalia.com>
Reviewed-by: Emma Anholt <emma at anholt.net>
Reviewed-by: Hyunjun Ko <zzoon at igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17173>
---
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
More information about the mesa-commit
mailing list