Skip to content

Commit 7567200

Browse files
tejlmandnordicjm
authored andcommitted
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 <[email protected]>
1 parent e890df7 commit 7567200

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

boot/zephyr/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -372,7 +372,7 @@ function(dt_get_parent node)
372372
string(FIND "${${node}}" "/" pos REVERSE)
373373

374374
if(pos EQUAL -1)
375-
message(ERROR "Unable to get parent of node: ${${node}}")
375+
message(FATAL_ERROR "Unable to get parent of node: ${${node}}")
376376
endif()
377377

378378
string(SUBSTRING "${${node}}" 0 ${pos} ${node})

0 commit comments

Comments
 (0)