ERPC: fix erpc build after switching t_cose source
Fix build error of tests using the erpc framework after
TF-M switched to using the upstream t_cose repository.
Add t_cose as a new subdirectory to the erpc build.
Change-Id: I56c37b0b67286b65d2f0d87f5e7cb8435f682832
Signed-off-by: David Vincze <david.vincze@arm.com>
diff --git a/erpc/tfm_reg_tests/CMakeLists.txt b/erpc/tfm_reg_tests/CMakeLists.txt
index bb7688d..3fcd4d2 100644
--- a/erpc/tfm_reg_tests/CMakeLists.txt
+++ b/erpc/tfm_reg_tests/CMakeLists.txt
@@ -155,7 +155,8 @@
add_library(tfm_ns_log INTERFACE)
set(USE_STDIO ON)
-add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../../lib/ext/qcbor ${CMAKE_BINARY_DIR}/lib/ext/qcbor)
+add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../../lib/ext/qcbor ${CMAKE_BINARY_DIR}/lib/ext/qcbor)
+add_subdirectory(${CMAKE_CURRENT_LIST_DIR}/../../lib/ext/t_cose ${CMAKE_BINARY_DIR}/lib/ext/t_cose)
add_subdirectory(${TFM_REG_TEST_ROOT}/ns_regression ${CMAKE_BINARY_DIR}/ns_regression)
target_link_libraries(erpc_main