Merge branch 'bugfix/add_requires_to_mock_register' into 'master'

[cmake]: Fixed mock register function

See merge request espressif/esp-idf!14396
pull/6951/merge
morris 2021-07-21 06:54:20 +00:00
commit fd568ce2c0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -530,7 +530,7 @@ endfunction()
function(idf_component_mock)
set(options)
set(single_value)
set(multi_value MOCK_HEADER_FILES INCLUDE_DIRS)
set(multi_value MOCK_HEADER_FILES INCLUDE_DIRS REQUIRES)
cmake_parse_arguments(_ "${options}" "${single_value}" "${multi_value}" ${ARGN})
list(APPEND __REQUIRES "cmock")