Gyorgy Szing | 5e429cb | 2019-12-03 20:39:55 +0100 | [diff] [blame] | 1 | #------------------------------------------------------------------------------- |
| 2 | # Copyright (c) 2020, Arm Limited. All rights reserved. |
| 3 | # |
| 4 | # SPDX-License-Identifier: BSD-3-Clause |
| 5 | # |
| 6 | #------------------------------------------------------------------------------- |
| 7 | |
| 8 | #Extend the module path with the location of the framework. |
| 9 | function(_tfacmf_extend_module_path) |
| 10 | get_filename_component(_TMP ${CMAKE_CURRENT_LIST_FILE} DIRECTORY) |
| 11 | list(APPEND CMAKE_MODULE_PATH ${_TMP}) |
| 12 | set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" PARENT_SCOPE) |
| 13 | endfunction() |
| 14 | |
| 15 | _tfacmf_extend_module_path() |