build(qcbor): Simplify Qcbor build
This patch makes the build of QCBOR external component
as a regular lib build in RMM. This also simplifies the
dependency graph generated by CMake.
Signed-off-by: Soby Mathew <soby.mathew@arm.com>
Change-Id: If958f0c2293d876437aa2f0af1a1ea7134fcce84
diff --git a/lib/mbedtls/CMakeLists.txt b/lib/mbedtls/CMakeLists.txt
index 10c1c25..02f1b17 100644
--- a/lib/mbedtls/CMakeLists.txt
+++ b/lib/mbedtls/CMakeLists.txt
@@ -39,6 +39,6 @@
# Add the mbedtls subdirectory and exclude all targets in mbedtls from
# default `all` target
#
-add_subdirectory("${RMM_SOURCE_DIR}/ext/mbedtls" "${CMAKE_BINARY_DIR}/ext/medtls" EXCLUDE_FROM_ALL)
+add_subdirectory("${RMM_SOURCE_DIR}/ext/mbedtls" "${CMAKE_BINARY_DIR}/ext/mbedtls" EXCLUDE_FROM_ALL)
target_link_libraries(rmm-mbedtls INTERFACE mbedtls)