Skip to content

Commit

Permalink
cmake: zephyr: change ERROR into FATAL_ERROR
Browse files Browse the repository at this point in the history
CMake's message function was mistakenly called with ERROR but the
correct correct argument to use is FATAL_ERROR.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
  • Loading branch information
tejlmand committed Sep 16, 2024
1 parent e890df7 commit 2ed255c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boot/zephyr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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})
Expand Down

0 comments on commit 2ed255c

Please sign in to comment.