Commit 75672000 authored by Torsten Rasmussen's avatar Torsten Rasmussen Committed by Jamie
Browse files

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: default avatarTorsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
parent e890df7a
Loading
Loading
Loading
Loading
+1 −1
Changes for boot/zephyr/CMakeLists.txt: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -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})