zephyr/drivers/wifi/simplelink/CMakeLists.txt
Declan Snyder 4cc80097d3 drivers: wifi: include sockets headers
Some wifi drivers need internal sockets headers
included to build, put this in CMakeLists

Signed-off-by: Declan Snyder <declan.snyder@nxp.com>
2023-11-21 08:48:04 +00:00

14 lines
362 B
CMake

# SPDX-License-Identifier: Apache-2.0
if(CONFIG_WIFI_SIMPLELINK)
zephyr_library_include_directories(
${ZEPHYR_BASE}/subsys/net/lib/tls_credentials
${ZEPHYR_BASE}/subsys/net/lib/sockets
)
zephyr_library_sources(
simplelink_support.c
simplelink.c
)
endif()
zephyr_library_sources_ifdef(CONFIG_NET_SOCKETS_OFFLOAD simplelink_sockets.c)