#------------------------------------------------------------------------------- # 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_include_directories(${TGT} PRIVATE "${CMAKE_CURRENT_LIST_DIR}" ) set_property(TARGET ${TGT} APPEND PROPERTY PUBLIC_HEADER "${CMAKE_CURRENT_LIST_DIR}/rpc_caller_session.h" "${CMAKE_CURRENT_LIST_DIR}/rpc_caller.h" ) target_sources(${TGT} PRIVATE "${CMAKE_CURRENT_LIST_DIR}/rpc_caller_session.c" "${CMAKE_CURRENT_LIST_DIR}/rpc_caller.c" )