Bluetooth: Host: CMake dependency for Mesh Bsim
Links host to mbedTLS library if Bluetooth Mesh is enabled, and CONFIG_BT_TESTING=y. Bluetooth Mesh has test dependencies in the host. In order to compile Bsim tests with these test features and PSA enabled, the libraries must be linked. Signed-off-by: Anders Storrø <anders.storro@nordicsemi.no>
This commit is contained in:
parent
2df58f65ce
commit
0ce77c227b
1 changed files with 7 additions and 0 deletions
|
@ -123,3 +123,10 @@ if(CONFIG_BT_CONN_DISABLE_SECURITY)
|
|||
Do not use in production."
|
||||
)
|
||||
endif()
|
||||
|
||||
# Bluetooth Mesh has test dependencies in the host.
|
||||
# In order to compile Bsim tests with these test features
|
||||
# and PSA enabled, the libraries must be linked.
|
||||
if(CONFIG_BT_MESH AND CONFIG_BT_TESTING)
|
||||
zephyr_library_link_libraries_ifdef(CONFIG_MBEDTLS mbedTLS)
|
||||
endif()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue