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 <[email protected]>
  • Loading branch information
tejlmand authored and nordicjm committed Sep 17, 2024
1 parent e890df7 commit 7567200
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 7567200

Please sign in to comment.