diff mbox series

[meta-oe,05/10] heaptrack: Allow to build with CMake 4+

Message ID 20250711100052.255467-6-Moritz.Haase@bmw.de
State New
Headers show
Series Patches to allow builds with CMake 4+ | expand

Commit Message

Moritz Haase July 11, 2025, 10 a.m. UTC
Upstream is inactive, so use the 'minimum policy version' override.

Signed-off-by: Moritz Haase <Moritz.Haase@bmw.de>
---
 meta-oe/recipes-devtools/heaptrack/heaptrack_1.2.0.bb | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
diff mbox series

Patch

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"