diff --git a/modules/mbedtls/CMakeLists.txt b/modules/mbedtls/CMakeLists.txt index c31d72fba5f..1717e2f991d 100644 --- a/modules/mbedtls/CMakeLists.txt +++ b/modules/mbedtls/CMakeLists.txt @@ -3,8 +3,8 @@ zephyr_interface_library_named(mbedTLS) if(CONFIG_MBEDTLS_BUILTIN) target_compile_definitions(mbedTLS INTERFACE - MBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CFG_FILE}" - ) + MBEDTLS_CONFIG_FILE="${CONFIG_MBEDTLS_CFG_FILE}" + ) target_include_directories(mbedTLS INTERFACE ${ZEPHYR_CURRENT_MODULE_DIR}/include @@ -14,7 +14,7 @@ if(CONFIG_MBEDTLS_BUILTIN) # and if so remove this include path. ${ZEPHYR_CURRENT_MODULE_DIR}/library configs - ) + ) zephyr_library() @@ -57,8 +57,8 @@ elseif (CONFIG_MBEDTLS_LIBRARY) # therefore susceptible to bit rot target_include_directories(mbedTLS INTERFACE - ${CONFIG_MBEDTLS_INSTALL_PATH} - ) + ${CONFIG_MBEDTLS_INSTALL_PATH} + ) zephyr_link_libraries( mbedtls_external