Merge branch 'bugfix/error_on_unknown_component_v3.1' into 'release/v3.1'
cmake: error out when component is not found (backport 3.1) See merge request espressif/esp-idf!5489
This commit is contained in:
commit
813c6a25a1
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ function(find_component_path find_name component_paths variable)
|
||||||
endif()
|
endif()
|
||||||
endforeach()
|
endforeach()
|
||||||
# TODO: find a way to print the dependency chain that lead to this not-found component
|
# TODO: find a way to print the dependency chain that lead to this not-found component
|
||||||
message(WARNING "Required component ${find_name} is not found in any of the provided COMPONENT_DIRS")
|
message(FATAL_ERROR "Required component ${find_name} is not found in any of the provided COMPONENT_DIRS")
|
||||||
endfunction()
|
endfunction()
|
||||||
|
|
||||||
# components_find_all: Search 'component_dirs' for components and return them
|
# components_find_all: Search 'component_dirs' for components and return them
|
||||||
|
|
Loading…
Reference in a new issue