mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-01-30 15:32:37 +08:00
[svn-r23651] Add MPI configuration information to includes and libs
This commit is contained in:
parent
3c79c08dbe
commit
029e143471
@ -17,10 +17,18 @@ SET (HDF5_ENABLE_SZIP_SUPPORT @HDF5_ENABLE_SZIP_SUPPORT@)
|
||||
SET (HDF5_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@)
|
||||
SET (HDF5_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Dependencies
|
||||
#-----------------------------------------------------------------------------
|
||||
IF(HDF5_ENABLE_PARALLEL)
|
||||
SET(HDF5_MPI_C_INCLUDE_PATH "@MPI_C_INCLUDE_PATH@")
|
||||
SET(HDF5_MPI_C_LIBRARIES "@MPI_C_LIBRARIES@")
|
||||
ENDIF(HDF5_ENABLE_PARALLEL)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Directories
|
||||
#-----------------------------------------------------------------------------
|
||||
SET (HDF5_INCLUDE_DIR "@HDF5_INCLUDES_BUILD_TIME@")
|
||||
SET (HDF5_INCLUDE_DIR "@HDF5_INCLUDES_BUILD_TIME@" "${HDF5_MPI_C_INCLUDE_PATH}" )
|
||||
|
||||
IF (HDF5_BUILD_FORTRAN)
|
||||
SET (HDF5_INCLUDE_DIR_FORTRAN "@CMAKE_Fortran_MODULE_DIRECTORY@" )
|
||||
|
@ -23,25 +23,33 @@ SET (HDF5_ENABLE_SZIP_ENCODING @HDF5_ENABLE_SZIP_ENCODING@)
|
||||
SET (HDF5_BUILD_SHARED_LIBS @BUILD_SHARED_LIBS@)
|
||||
SET (HDF5_PACKAGE_EXTLIBS @HDF5_PACKAGE_EXTLIBS@)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Dependencies
|
||||
#-----------------------------------------------------------------------------
|
||||
IF(HDF5_ENABLE_PARALLEL)
|
||||
SET(HDF5_MPI_C_INCLUDE_PATH "@MPI_C_INCLUDE_PATH@")
|
||||
SET(HDF5_MPI_C_LIBRARIES "@MPI_C_LIBRARIES@")
|
||||
ENDIF(HDF5_ENABLE_PARALLEL)
|
||||
|
||||
#-----------------------------------------------------------------------------
|
||||
# Directories
|
||||
#-----------------------------------------------------------------------------
|
||||
SET (HDF5_INCLUDE_DIR "${_IMPORT_PREFIX}/include" )
|
||||
SET (HDF5_INCLUDE_DIR "${_IMPORT_PREFIX}/include" "${HDF5_MPI_C_INCLUDE_PATH}" )
|
||||
|
||||
IF (HDF5_BUILD_FORTRAN)
|
||||
SET (HDF5_INCLUDE_DIR_FORTRAN "${_IMPORT_PREFIX}/include" )
|
||||
SET (HDF5_INCLUDE_DIR_FORTRAN "${_IMPORT_PREFIX}/include/fortran" )
|
||||
ENDIF (HDF5_BUILD_FORTRAN)
|
||||
|
||||
IF (HDF5_BUILD_CPP_LIB)
|
||||
SET (HDF5_INCLUDE_DIR_CPP "${_IMPORT_PREFIX}/include" )
|
||||
SET (HDF5_INCLUDE_DIR_CPP "${_IMPORT_PREFIX}/include/cpp" )
|
||||
ENDIF (HDF5_BUILD_CPP_LIB)
|
||||
|
||||
IF (HDF5_BUILD_HL_LIB)
|
||||
SET (HDF5_INCLUDE_DIR_HL "${_IMPORT_PREFIX}/include" )
|
||||
SET (HDF5_INCLUDE_DIR_HL "${_IMPORT_PREFIX}/include/hl" )
|
||||
ENDIF (HDF5_BUILD_HL_LIB)
|
||||
|
||||
IF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
|
||||
SET (HDF5_INCLUDE_DIR_HL_CPP "${_IMPORT_PREFIX}/include" )
|
||||
SET (HDF5_INCLUDE_DIR_HL_CPP "${_IMPORT_PREFIX}/include/hl/cpp" )
|
||||
ENDIF (HDF5_BUILD_HL_LIB AND HDF5_BUILD_CPP_LIB)
|
||||
|
||||
IF (HDF5_BUILD_TOOLS)
|
||||
|
Loading…
Reference in New Issue
Block a user