From 6e78caafa3b3cfaf3e69aafb0cc87b7f0cbe9ac1 Mon Sep 17 00:00:00 2001 From: Moritz Haase Date: Fri, 11 Jul 2025 12:00:26 +0200 Subject: synergy: Allow to build with CMake 4+ The version hasn't been updated in years, so even though there are newer upstream releases, bumping the version is not straightforward. Thus, use the 'minimum policy version' override for now. Signed-off-by: Moritz Haase Signed-off-by: Khem Raj --- meta-oe/recipes-support/synergy/synergy_git.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-support/synergy/synergy_git.bb b/meta-oe/recipes-support/synergy/synergy_git.bb index e215c62620..e66c04b9fc 100644 --- a/meta-oe/recipes-support/synergy/synergy_git.bb +++ b/meta-oe/recipes-support/synergy/synergy_git.bb @@ -19,6 +19,8 @@ PV = "1.10.1+git" inherit cmake features_check -EXTRA_OECMAKE += "-DSYNERGY_BUILD_LEGACY_GUI=OFF" +EXTRA_OECMAKE += "-DSYNERGY_BUILD_LEGACY_GUI=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ +" FILES:${PN} += "${datadir}/icons/hicolor" -- cgit v1.2.3-54-g00ecf