aboutsummaryrefslogtreecommitdiff
path: root/components/service/crypto/provider/serializer/protobuf/component.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'components/service/crypto/provider/serializer/protobuf/component.cmake')
-rw-r--r--components/service/crypto/provider/serializer/protobuf/component.cmake20
1 files changed, 20 insertions, 0 deletions
diff --git a/components/service/crypto/provider/serializer/protobuf/component.cmake b/components/service/crypto/provider/serializer/protobuf/component.cmake
new file mode 100644
index 000000000..2a075b74d
--- /dev/null
+++ b/components/service/crypto/provider/serializer/protobuf/component.cmake
@@ -0,0 +1,20 @@
+#-------------------------------------------------------------------------------
+# Copyright (c) 2020, Arm Limited and Contributors. All rights reserved.
+#
+# SPDX-License-Identifier: BSD-3-Clause
+#
+#-------------------------------------------------------------------------------
+if (NOT DEFINED TGT)
+ message(FATAL_ERROR "mandatory parameter TGT is not defined.")
+endif()
+
+target_sources(${TGT} PRIVATE
+ "${CMAKE_CURRENT_LIST_DIR}/pb_crypto_provider_serializer.c"
+ "${CMAKE_CURRENT_LIST_DIR}/pb_key_attributes_translator.c"
+ )
+
+
+target_include_directories(${TGT}
+ PRIVATE
+ "${CMAKE_CURRENT_LIST_DIR}"
+ )