From 2ed255cfc1f40ef3fbeda7d6e697e65c49d1f0c8 Mon Sep 17 00:00:00 2001 From: Torsten Rasmussen Date: Mon, 16 Sep 2024 17:07:09 +0200 Subject: [PATCH] cmake: zephyr: change ERROR into FATAL_ERROR CMake's message function was mistakenly called with ERROR but the correct correct argument to use is FATAL_ERROR. Signed-off-by: Torsten Rasmussen --- boot/zephyr/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boot/zephyr/CMakeLists.txt b/boot/zephyr/CMakeLists.txt index d02f93a40..7762a22c8 100644 --- a/boot/zephyr/CMakeLists.txt +++ b/boot/zephyr/CMakeLists.txt @@ -372,7 +372,7 @@ function(dt_get_parent node) string(FIND "${${node}}" "/" pos REVERSE) if(pos EQUAL -1) - message(ERROR "Unable to get parent of node: ${${node}}") + message(FATAL_ERROR "Unable to get parent of node: ${${node}}") endif() string(SUBSTRING "${${node}}" 0 ${pos} ${node})