fix(esp_coex/cmake): avoid using uninitialized srcs variable

Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com>
This commit is contained in:
Frantisek Hrbata
2025-04-04 09:23:34 +02:00
committed by BOT
parent f50ae95ab5
commit 56ac76d4d2

View File

@ -1,5 +1,7 @@
idf_build_get_property(idf_target IDF_TARGET)
set(srcs "")
if(${idf_target} STREQUAL "linux")
return() # This component is not supported by the POSIX/Linux simulator
endif()