From 897f26d912eec4bb53b1f21ff7f5c1c5b39c45b5 Mon Sep 17 00:00:00 2001 From: Tomi Valkeinen Date: Tue, 20 Dec 2022 09:24:24 +0200 Subject: Fix dependency to kms++utils in kmscube and utils Signed-off-by: Tomi Valkeinen --- kmscube/meson.build | 4 ++++ utils/meson.build | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/kmscube/meson.build b/kmscube/meson.build index 68765f2..7b87941 100644 --- a/kmscube/meson.build +++ b/kmscube/meson.build @@ -1,3 +1,7 @@ +if not get_option('libutils') + error('"kmscube" option requires "libutils" option enabled') +endif + kmscube_sources = files([ 'cube.cpp', 'cube-egl.cpp', diff --git a/utils/meson.build b/utils/meson.build index ac73b5b..7a86c68 100644 --- a/utils/meson.build +++ b/utils/meson.build @@ -1,3 +1,7 @@ +if not get_option('libutils') + error('"utils" option requires "libutils" option enabled') +endif + common_deps = [ libkmsxx_dep, libkmsxxutil_dep, libfmt_dep ] libevdev_dep = dependency('libevdev', required : false) -- cgit v1.2.3