From ee1fb7e5c3df834077afe1785a555725dc063d04 Mon Sep 17 00:00:00 2001 From: Moritz Haase Date: Mon, 14 Jul 2025 13:26:33 +0200 Subject: 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]: https://github.com/KhronosGroup/Vulkan-Video-Samples/commit/ab3b3b37dc120b383922dde9850cee8d185b45f3 Signed-off-by: Moritz Haase Signed-off-by: Khem Raj --- meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb index 1bcbed1600..a98360c73f 100644 --- a/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb +++ b/meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb @@ -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} -- cgit v1.2.3-54-g00ecf