sysbuild: cmake: fix incorrect function name in error message

The name in the error message does not match the function name.

Signed-off-by: Håkon Amundsen <haakon.amundsen@nordicsemi.no>
This commit is contained in:
Håkon Amundsen 2024-05-03 12:01:17 +02:00 committed by Johan Hedberg
commit 9a47ee00fa

View file

@ -597,7 +597,7 @@ function(sysbuild_cache_set)
return() return()
elseif(VARS_REMOVE_DUPLICATES AND NOT VARS_APPEND) elseif(VARS_REMOVE_DUPLICATES AND NOT VARS_APPEND)
message(FATAL_ERROR message(FATAL_ERROR
"sysbuild_set(VAR <var> APPEND REMOVE_DUPLICATES ...) missing required APPEND option") "sysbuild_cache_set(VAR <var> APPEND REMOVE_DUPLICATES ...) missing required APPEND option")
endif() endif()
get_property(var_type CACHE ${VARS_VAR} PROPERTY TYPE) get_property(var_type CACHE ${VARS_VAR} PROPERTY TYPE)