From 430848548debc793e0aff17d383c05defe0fdfe4 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Thu, 9 Apr 2020 23:12:25 +0900 Subject: [PATCH] meson: kmssink: Allow fallback only on linux Otherwise fallback will waste meson configure time on non-linux --- sys/kms/meson.build | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sys/kms/meson.build b/sys/kms/meson.build index fa5bb6b395..0223f28e6d 100644 --- a/sys/kms/meson.build +++ b/sys/kms/meson.build @@ -5,6 +5,10 @@ kmssink_sources = [ 'gstkmsutils.c', ] +if host_system != 'linux' + subdir_done() +endif + libdrm_dep = dependency('libdrm', version : '>= 2.4.55', required : get_option('kms'), fallback: ['libdrm', 'ext_libdrm'])