mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
f8e1ee35e2
Regression from 9eccd7c082
12 lines
383 B
CMake
12 lines
383 B
CMake
idf_build_get_property(soc_name IDF_TARGET)
|
|
|
|
get_filename_component(soc_test "${CMAKE_CURRENT_SOURCE_DIR}/../${soc_name}/test" ABSOLUTE)
|
|
if(EXISTS "${soc_test}")
|
|
set(src_dirs "${soc_test}")
|
|
set(include_dirs "${soc_test}")
|
|
endif()
|
|
|
|
idf_component_register(SRC_DIRS "${src_dirs}"
|
|
INCLUDE_DIRS "${include_dirs}"
|
|
REQUIRES unity test_utils)
|