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})