cmake/tribits/common_tpls/FindTPLProjectLastLib.cmake
raw| 1 | # This is a hack to handle the ${PROJECT_NAME}_EXTRA_LINK_FLAGS options as a |
| 2 | # TPL that every downstream TPL and package will depend on. |
| 3 | |
| 4 | separate_arguments(TPL_${PROJECT_NAME}TribitsLastLib_LIBRARIES NATIVE_COMMAND |
| 5 | "${${PROJECT_NAME}_EXTRA_LINK_FLAGS}") |
| 6 | |
| 7 | tribits_tpl_find_include_dirs_and_libraries( ${PROJECT_NAME}TribitsLastLib |
| 8 | REQUIRED_LIBS_NAMES NEVER_USED |
| 9 | ) |