1#
2# Arm SCP/MCP Software
3# Copyright (c) 2022, Linaro Limited and Contributors. All rights reserved.
4#
5# SPDX-License-Identifier: BSD-3-Clause
6#
7
8add_library(${SCP_MODULE_TARGET} SCP_MODULE)
9
10target_include_directories(${SCP_MODULE_TARGET}
11                           PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/include"
12                           PRIVATE "${SCP_OPTEE_DIR}/core/lib/scmi-server/include")
13
14target_sources(${SCP_MODULE_TARGET}
15               PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/src/mod_optee_smt.c")
16
17target_link_libraries(${SCP_MODULE_TARGET} PRIVATE module-scmi)
18