opengl-es-cts: Allow to build with CMake 4+

Latest HEAD supports builds with CMake 4+, but the corresponding patch at [0] is
considered to be too invasive to backport. Instead, apply the 'minimum policy
version' override.

[0]: ab3b3b37dc

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:33 +02:00 committed by Khem Raj
parent e544f97ead
commit ee1fb7e5c3
No known key found for this signature in database
GPG Key ID: BB053355919D3314

View File

@ -6,7 +6,9 @@ SRCREV_vk-gl-cts = "42e61858e862e153cd0fe36593a8c3f7c16c3275"
require opengl-es-cts-sources.inc
EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts""
EXTRA_OECMAKE += "-DSELECTED_BUILD_TARGETS="cts-runner deqp-egl deqp-gles2 deqp-gles3 deqp-gles31 deqp-gl-shared de-internal-tests glcts" \
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
"
do_install() {
install -d ${D}/${CTSDIR}