zephyr/drivers/wifi/simplelink/CMakeLists.txt
Torsten Rasmussen d7862cf776 cmake: using ${ZEPHYR_BASE} instead of $ENV{ZEPHYR_BASE}
With the introduction of ZephyrConfig.cmake all parts of CMake code
should rely on the CMake ZEPHYR_BASE variable instead of the environment
setting.

This ensures that after the first CMake invocation, then all subsequent
invocation in same build folder will use same zephyr base.

Signed-off-by: Torsten Rasmussen <Torsten.Rasmussen@nordicsemi.no>
2020-03-27 16:23:46 +01:00

14 lines
302 B
CMake

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