soc: fix unit tests not included in the build

Regression from 9eccd7c082
This commit is contained in:
Anton Maklakov 2019-11-16 15:22:00 +07:00
parent 29b2235506
commit 7b0be33a7a

View File

@ -2,7 +2,7 @@ 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(srcs "${soc_test}")
set(src_dirs "${soc_test}")
set(include_dirs "${soc_test}")
endif()