mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-07 14:44:32 +02:00
Merge branch 'bugfix/add_requires_to_mock_register' into 'master'
[cmake]: Fixed mock register function See merge request espressif/esp-idf!14396
This commit is contained in:
@@ -530,7 +530,7 @@ endfunction()
|
|||||||
function(idf_component_mock)
|
function(idf_component_mock)
|
||||||
set(options)
|
set(options)
|
||||||
set(single_value)
|
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})
|
cmake_parse_arguments(_ "${options}" "${single_value}" "${multi_value}" ${ARGN})
|
||||||
|
|
||||||
list(APPEND __REQUIRES "cmock")
|
list(APPEND __REQUIRES "cmock")
|
||||||
|
Reference in New Issue
Block a user