Gyorgy Szing | 4909180 | 2020-11-24 00:33:09 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
Andrew Beggs | 97a00d4 | 2021-06-15 15:45:46 +0000 | [diff] [blame^] | 2 | # Copyright (c) 2020-2021, Arm Limited and Contributors. All rights reserved. |
Gyorgy Szing | 4909180 | 2020-11-24 00:33:09 +0100 | [diff] [blame] | 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | if (NOT DEFINED TGT) |
| 9 | message(FATAL_ERROR "mandatory parameter TGT is not defined.") |
| 10 | endif() |
| 11 | |
| 12 | target_sources(${TGT} PRIVATE |
| 13 | "${CMAKE_CURRENT_LIST_DIR}/libsp_entry.c" |
| 14 | ) |
Andrew Beggs | 97a00d4 | 2021-06-15 15:45:46 +0000 | [diff] [blame^] | 15 | |
| 16 | target_include_directories(${TGT} |
| 17 | PUBLIC |
| 18 | "${CMAKE_CURRENT_LIST_DIR}/include" |
| 19 | ) |