freerdp: Allow to build with CMake 4+

The 2.x branch of freerdp is in maintenance mode and upstream has ruled out
changes to officially support builds with CMake 4+ (see [0]). Thus, apply the
'minimum policy version' override.

[0]: https://github.com/FreeRDP/FreeRDP/issues/11707

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-14 13:26:31 +02:00 committed by Khem Raj
parent 0cf509d681
commit 62702ff84d
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -25,6 +25,7 @@ SRC_URI = "git://github.com/FreeRDP/FreeRDP.git;branch=stable-2.0;protocol=https
EXTRA_OECMAKE += " \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
-DWITH_FFMPEG=OFF \
-DWITH_CUNIT=OFF \
-DWITH_NEON=OFF \