| 1 |
# @HEADER |
| 2 |
# ***************************************************************************** |
| 3 |
# TriBITS: Tribal Build, Integrate, and Test System |
| 4 |
# |
| 5 |
# Copyright 2013-2016 NTESS and the TriBITS contributors. |
| 6 |
# SPDX-License-Identifier: BSD-3-Clause |
| 7 |
# ***************************************************************************** |
| 8 |
# @HEADER |
| 9 |
|
| 10 |
include(TribitsTplFindIncludeDirsAndLibraries) |
| 11 |
include(TribitsDeprecatedHelpers) |
| 12 |
|
| 13 |
function(tribits_tpl_declare_libraries TPL_NAME) |
| 14 |
tribits_deprecated_command(tribits_tpl_declare_libraries |
| 15 |
MESSAGE |
| 16 |
"Use tribits_tpl_find_include_dirs_and_libraries() instead." |
| 17 |
" Make this change in the file:\n" |
| 18 |
" ${${TPL_NAME}_FINDMOD}\n" |
| 19 |
"which is pointed to by the file:\n" |
| 20 |
" ${${TPL_NAME}_TPLS_LIST_FILE}\n" |
| 21 |
) |
| 22 |
tribits_tpl_find_include_dirs_and_libraries(${TPL_NAME} ${ARGN}) |
| 23 |
endfunction() |