From 16440b8339154694a457a47db6ca73cc83850038 Mon Sep 17 00:00:00 2001 From: Yogesh Tyagi Date: Thu, 24 Jul 2025 14:04:10 +0800 Subject: [PATCH] ipmctl : set a baseline policy version for cmake Cmake upgrade to 4.0+ removes compatibility with versions older than 3.5 [1]. Set a baseline policy version for CMake using CMAKE_POLICY_VERSION_MINIMUM variable until upstream source implements the fix. [1] https://git.yoctoproject.org/poky/commit/?id=2c9a6b4a81b642fc3e6815aa83d1c9bafb56c7db Signed-off-by: Yogesh Tyagi Signed-off-by: Anuj Mittal --- .../recipes-support/ipmctl/ipmctl_03.00.00.0499.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0499.bb b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0499.bb index 7b95ffe4..eec0f8b5 100644 --- a/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0499.bb +++ b/dynamic-layers/openembedded-layer/recipes-support/ipmctl/ipmctl_03.00.00.0499.bb @@ -30,7 +30,9 @@ inherit cmake dos2unix DEPENDS = "ndctl pkgconfig-native" -EXTRA_OECMAKE = "-DRELEASE=ON" +EXTRA_OECMAKE = "-DRELEASE=ON \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ + " do_configure:prepend() { for dir in BaseTools MdeModulePkg MdePkg ShellPkg ; do