[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 <[email protected]>
This commit is contained in:
Markus Becker
2020-06-08 10:19:37 -07:00
committed by GitHub
parent f177acfc4a
commit 54f24c6074
+1 -1
View File
@@ -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")