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 committed by Angus Gratton
parent 06aa755265
commit f8e1ee35e2

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()