You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
10 lines
505 B
10 lines
505 B
2 years ago
|
macro(TPL_DEPRECATED_TPL_FIND_MOD_INCLUDE TPL_NAME NEW_TPL_DIR)
|
||
|
set(FIND_TPL_NAME "FindTPL${TPL_NAME}.cmake")
|
||
|
message(WARNING "WARNING: The file tpls/${FIND_TPL_NAME}"
|
||
|
" for the TPL='${TPL_NAME}' has been moved to ${NEW_TPL_DIR}/${FIND_TPL_NAME}!"
|
||
|
" Please use the moved copy as this deprecated copy will be removed soon!"
|
||
|
" Make this change in the file:\n"
|
||
|
" ${${TPL_NAME}_TPLS_LIST_FILE}\n")
|
||
|
include("${CMAKE_CURRENT_LIST_DIR}/../${NEW_TPL_DIR}/${FIND_TPL_NAME}")
|
||
|
endmacro()
|