aboutsummaryrefslogtreecommitdiff
path: root/components/service/common/serializer/protobuf/component.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'components/service/common/serializer/protobuf/component.cmake')
-rw-r--r--components/service/common/serializer/protobuf/component.cmake13
1 files changed, 13 insertions, 0 deletions
diff --git a/components/service/common/serializer/protobuf/component.cmake b/components/service/common/serializer/protobuf/component.cmake
new file mode 100644
index 0000000..b9f8d97
--- /dev/null
+++ b/components/service/common/serializer/protobuf/component.cmake
@@ -0,0 +1,13 @@
+#-------------------------------------------------------------------------------
+# 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_helper.c"
+ )