From 004577f53cddb773aaa0f6ba030ffe2182a9b760 Mon Sep 17 00:00:00 2001 From: Moritz Haase Date: Fri, 11 Jul 2025 12:00:22 +0200 Subject: heaptrack: Allow to build with CMake 4+ Upstream is inactive, so use the 'minimum policy version' override. Signed-off-by: Moritz Haase Signed-off-by: Khem Raj --- meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb b/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb index 3aca51ee3e..6896daf836 100644 --- a/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb +++ b/meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb @@ -22,7 +22,9 @@ SRCREV = "bc9e3744bcc47de978673d1e382f4125a1ab5fa8" inherit cmake -EXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF" +EXTRA_OECMAKE += "-DHEAPTRACK_BUILD_GUI=OFF \ + -DCMAKE_POLICY_VERSION_MINIMUM=3.5 \ +" # libunwind is not yet ported to RISCV COMPATIBLE_HOST:riscv32 = "null" -- cgit v1.2.3-54-g00ecf