diff options
Diffstat (limited to 'archived/ptlibzippy/contrib/blast/blastConfig.cmake.in')
| -rw-r--r-- | archived/ptlibzippy/contrib/blast/blastConfig.cmake.in | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/archived/ptlibzippy/contrib/blast/blastConfig.cmake.in b/archived/ptlibzippy/contrib/blast/blastConfig.cmake.in new file mode 100644 index 0000000000..5909ac4f58 --- /dev/null +++ b/archived/ptlibzippy/contrib/blast/blastConfig.cmake.in @@ -0,0 +1,18 @@ +@PACKAGE_INIT@ + +set(_blast_supported_components "shared" "static") + +if(blast_FIND_COMPONENTS) + foreach(_comp ${blast_FIND_COMPONENTS}) + if(NOT _comp IN_LIST _blast_supported_components) + set(blast_FOUND False) + set(blast_NOT_FOUND_MESSAGE "Unsupported component: ${_comp}") + endif(NOT _comp IN_LIST _blast_supported_components) + + include("${CMAKE_CURRENT_LIST_DIR}/blast-${_comp}.cmake") + endforeach(_comp ${blast_FIND_COMPONENTS}) +else(blast_FIND_COMPONENTS) + foreach(_component_config IN LISTS _blast_supported_components) + include("${CMAKE_CURRENT_LIST_DIR}/blast-${_component_config}.cmake") + endforeach(_component_config IN LISTS _blast_supported_components) +endif(blast_FIND_COMPONENTS) |
