mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-02 09:52:25 +00:00
Kbuild supported CONFIG_MBEDTLS_LIBRARY and CONFIG_MBEDTLS_INSTALL_PATH to allow users to link in an externally built mbedtls. This was not ported over to CMake, causing build failures when it was kconfig-enabled. This patch implements this support. This support has been tested as well as MBEDTLS_LIBRARY was tested in CI. Signed-off-by: Sebastian Bøe <sebastian.boe@nordicsemi.no> Signed-off-by: Ding Tao <miyatsu@qq.com>
3 lines
86 B
CMake
3 lines
86 B
CMake
add_subdirectory_if_kconfig(tinycrypt)
|
|
add_subdirectory_ifdef(CONFIG_MBEDTLS mbedtls)
|