tests: bt: add Mbed TLS headers to the build
Include Mbed TLS headers to the build system. This is required because these tests do not follow the "standard build pattern" of Mbed TLS in Zephyr, otherwise include files would be already available after the library has been linked. In these examples some BT source files and Kconfigs are manually added to the CmakeLists.txt file bypassing the standard library build pattern, so Mbed TLS headers must also be added manually. Signed-off-by: Valerio Setti <vsetti@baylibre.com>
This commit is contained in:
parent
7c1b5059ca
commit
65751c1c33
3 changed files with 6 additions and 3 deletions
|
@ -12,7 +12,8 @@ target_sources(app
|
|||
|
||||
target_include_directories(app
|
||||
PRIVATE
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh)
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh
|
||||
${ZEPHYR_MBEDTLS_MODULE_DIR}/include)
|
||||
|
||||
target_compile_options(app
|
||||
PRIVATE
|
||||
|
|
|
@ -12,7 +12,8 @@ target_sources(app
|
|||
|
||||
target_include_directories(app
|
||||
PRIVATE
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh)
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh
|
||||
${ZEPHYR_MBEDTLS_MODULE_DIR}/include)
|
||||
|
||||
target_compile_options(app
|
||||
PRIVATE
|
||||
|
|
|
@ -12,7 +12,8 @@ target_sources(app
|
|||
|
||||
target_include_directories(app
|
||||
PRIVATE
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh)
|
||||
${ZEPHYR_BASE}/subsys/bluetooth/mesh
|
||||
${ZEPHYR_MBEDTLS_MODULE_DIR}/include)
|
||||
|
||||
target_compile_options(app
|
||||
PRIVATE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue