mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
[cmake]: Fixed mock register function
* REQUIRES was missing from multi value args
This commit is contained in:
parent
eef4c516ea
commit
366ede3ffb
@ -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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user