cmake/tribits/tpls/TribitsDeprecatedTplFindModInclude.cmake
raw| 1 | macro(TPL_DEPRECATED_TPL_FIND_MOD_INCLUDE TPL_NAME NEW_TPL_DIR) |
| 2 | set(FIND_TPL_NAME "FindTPL${TPL_NAME}.cmake") |
| 3 | message(WARNING "WARNING: The file tpls/${FIND_TPL_NAME}" |
| 4 | " for the TPL='${TPL_NAME}' has been moved to ${NEW_TPL_DIR}/${FIND_TPL_NAME}!" |
| 5 | " Please use the moved copy as this deprecated copy will be removed soon!" |
| 6 | " Make this change in the file:\n" |
| 7 | " ${${TPL_NAME}_TPLS_LIST_FILE}\n") |
| 8 | include("${CMAKE_CURRENT_LIST_DIR}/../${NEW_TPL_DIR}/${FIND_TPL_NAME}") |
| 9 | endmacro() |