|
|
(12 intermediate revisions by 7 users not shown) |
Line 1: |
Line 1: |
| [[CMake_User_Contributed_Macros|Back]]
| | {{CMake/Template/Moved}} |
|
| |
|
| Autopack is a message-passing library which transparently packs small messages into fewer larger ones for more efficient transport by MPI. It can be found at http://www-unix.mcs.anl.gov/autopack/
| | This page has moved [https://gitlab.kitware.com/cmake/community/wikis/contrib/modules/FindAUTOPACK here]. |
| -----
| |
| # Find the AUTOPACK includes and library
| |
| #
| |
| # Autopack is a message-passing library which transparently packs small messages into
| |
| # fewer larger ones for more efficient transport by MPI. It can be found at:
| |
| # http://www-unix.mcs.anl.gov/autopack/
| |
| #
| |
| # AUTOPACK_INCLUDE_DIR - where to find autopack.h
| |
| # AUTOPACK_LIBRARIES - List of fully qualified libraries to link against when using zlib.
| |
| # AUTOPACK_FOUND - Do not attempt to use zlib if "no" or undefined.
| |
|
| |
| FIND_PATH(AUTOPACK_INCLUDE_DIR autopack.h
| |
| /usr/local/include
| |
| /usr/include
| |
| )
| |
|
| |
| FIND_LIBRARY(AUTOPACK_LIBRARY autopack
| |
| /usr/local/lib
| |
| /usr/lib
| |
| )
| |
|
| |
| IF(AUTOPACK_INCLUDE_DIR)
| |
| IF(AUTOPACK_LIBRARY)
| |
| SET( AUTOPACK_LIBRARIES ${AUTOPACK_LIBRARY} )
| |
| SET( AUTOPACK_FOUND "YES" )
| |
| ENDIF(AUTOPACK_LIBRARY)
| |
| ENDIF(AUTOPACK_INCLUDE_DIR)
| |
| | |
| -----
| |
| [[CMake_User_Contributed_Macros|Back]]
| |
Latest revision as of 15:41, 30 April 2018