From 54f24c60741e56adfc4f6b86b53f4c504ffec33c Mon Sep 17 00:00:00 2001 From: Markus Becker Date: Mon, 8 Jun 2020 19:19:37 +0200 Subject: [PATCH] [cmake] use the correct define for external heap (#5058) In options.cmake OPENTHREAD_CONFIG_*EXTERNAL_HEAP*_ENABLE is used, while in common-switches.mk and the source code the slightly different OPENTHREAD_CONFIG_*HEAP_EXTERNAL*_ENABLE is used. Signed-off-by: Markus Becker --- etc/cmake/options.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/cmake/options.cmake b/etc/cmake/options.cmake index b05b672aa..2eb683e28 100644 --- a/etc/cmake/options.cmake +++ b/etc/cmake/options.cmake @@ -132,7 +132,7 @@ endif() option(OT_EXTERNAL_HEAP "enable external heap support") if(OT_EXTERNAL_HEAP) - target_compile_definitions(ot-config INTERFACE "OPENTHREAD_CONFIG_EXTERNAL_HEAP_ENABLE=1") + target_compile_definitions(ot-config INTERFACE "OPENTHREAD_CONFIG_HEAP_EXTERNAL_ENABLE=1") endif() option(OT_IP6_FRAGM "enable ipv6 fragmentation support")