aboutsummaryrefslogtreecommitdiff
path: root/components/service/locator/interface/component.cmake
blob: b5aefa3711b0a4ee52c80247a4f0e9bb15e0dc22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#-------------------------------------------------------------------------------
# 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()

set_property(TARGET ${TGT} PROPERTY SERVICE_LOCATOR_PUBLIC_HEADER_FILES
	"${CMAKE_CURRENT_LIST_DIR}/service_locator.h"
	)

target_include_directories(${TGT} PUBLIC
	"${CMAKE_CURRENT_LIST_DIR}"
	)