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 <Moritz.Haase@bmw.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Moritz Haase
2025-07-11 12:00:26 +02:00
committed by Khem Raj
parent 111baaaa22
commit 6e78caafa3
@@ -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"