From d25c266858ffbea51b435190ea8697d4a4511355 Mon Sep 17 00:00:00 2001
From: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
Date: Thu, 28 Apr 2022 08:00:07 +0900
Subject: [PATCH 6/6] Drop weston 6 support and adjust weston 7,8,10

Signed-off-by: Naoto Yamaguchi <naoto.yamaguchi@aisin.co.jp>
---
 ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt b/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt
index a67ac5a..a4b4e1a 100644
--- a/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt
+++ b/ivi-id-agent-modules/ivi-id-agent/CMakeLists.txt
@@ -23,9 +23,11 @@ project(ivi-id-agent)
 
 find_package(PkgConfig REQUIRED)
 pkg_check_modules(WAYLAND_SERVER wayland-server REQUIRED)
-pkg_check_modules(WESTON weston>=6.0.0 REQUIRED)
+pkg_check_modules(WESTON weston>=7.0.0 REQUIRED)
 pkg_check_modules(PIXMAN pixman-1 REQUIRED)
-pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-10 REQUIRED)
+pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-10)
+pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-8)
+pkg_check_modules(LIBWESTON_DESKTOP libweston-desktop-7)
 
 find_package(Threads REQUIRED)
 
-- 
2.17.1