mirror of
https://github.com/espressif/esp-idf.git
synced 2025-07-30 18:57:19 +02:00
soc: fix unit tests not included in the build
Regression from 9eccd7c082
This commit is contained in:
committed by
Angus Gratton
parent
06aa755265
commit
f8e1ee35e2
@ -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)
|
get_filename_component(soc_test "${CMAKE_CURRENT_SOURCE_DIR}/../${soc_name}/test" ABSOLUTE)
|
||||||
if(EXISTS "${soc_test}")
|
if(EXISTS "${soc_test}")
|
||||||
set(srcs "${soc_test}")
|
set(src_dirs "${soc_test}")
|
||||||
set(include_dirs "${soc_test}")
|
set(include_dirs "${soc_test}")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user