Message ID | 20250714112642.121146-8-Moritz.Haase@bmw.de |
---|---|
State | Under Review |
Headers | show |
Series | [meta-oe,01/10] leveldb: Disable ptests to allow to build with CMake 4+ | expand |
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}
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 <Moritz.Haase@bmw.de> --- meta-oe/recipes-graphics/vk-gl-cts/opengl-es-cts_3.2.12.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)