LIST(APPEND LAPACK_LIBRARIES ${BLAS_LIBRARIES})
ENDIF()
+ MARK_AS_ADVANCED(
+ atlas_LIBRARY
+ blas_LIBRARY
+ gslcblas_LIBRARY
+ lapack_LIBRARY
+ m_LIBRARY
+ ptf77blas_LIBRARY
+ ptlapack_LIBRARY
+ refblas_LIBRARY
+ reflapack_LIBRARY
+ )
+
IF(LAPACK_FOUND)
#
# Well, in case of static archives we have to manually pick up the
ENDFOREACH()
SWITCH_LIBRARY_PREFERENCE()
- MARK_AS_ADVANCED(
- atlas_LIBRARY
- blas_LIBRARY
- gslcblas_LIBRARY
- lapack_LIBRARY
- m_LIBRARY
- ptf77blas_LIBRARY
- ptlapack_LIBRARY
- refblas_LIBRARY
- reflapack_LIBRARY
- )
SET(${var} TRUE)
ENDIF()
ENDMACRO()
ENDIF()
ENDFOREACH()
- IF(MPI_CXX_FOUND)
- # Hide some variables:
- MARK_AS_ADVANCED(MPI_EXTRA_LIBRARY MPI_LIBRARY)
+ # Hide some variables:
+ MARK_AS_ADVANCED(MPI_EXTRA_LIBRARY MPI_LIBRARY)
+ IF(MPI_CXX_FOUND)
SET(${var} TRUE)
ENDIF()
ENDMACRO()
#
# tbb uses dlopen/dlclose, so link against libdl.so as well:
#
- FIND_LIBRARY(dl_lib NAMES dl)
- MARK_AS_ADVANCED(dl_lib)
- IF(NOT dl_lib MATCHES "-NOTFOUND")
- LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${dl_lib})
+ FIND_LIBRARY(dl_LIBRARY NAMES dl)
+ MARK_AS_ADVANCED(dl_LIBRARY)
+ IF(NOT dl_LIBRARY MATCHES "-NOTFOUND")
+ LIST(APPEND DEAL_II_EXTERNAL_LIBRARIES ${dl_LIBRARY})
ENDIF()
INCLUDE_DIRECTORIES(${TBB_FOLDER}/include)
FIND_PACKAGE(Boost 1.44 COMPONENTS ${_boost_components})
ENDIF()
+ MARK_AS_ADVANCED(Boost_DIR)
+
IF( Boost_SERIALIZATION_FOUND AND
Boost_SYSTEM_FOUND AND
(NOT DEAL_II_WITH_THREADS OR Boost_THREAD_FOUND)
)
SET(${var} TRUE)
- MARK_AS_ADVANCED(Boost_DIR)
ENDIF()
ENDMACRO()
LAPACK_FOUND
)
+MARK_AS_ADVANCED(
+ lapack_LIBRARY
+ atlas_LIBRARY
+ blas_LIBRARY
+ ARPACK_LIBRARY
+ )
+
IF(ARPACK_FOUND)
SET(ARPACK_LIBRARIES
${ARPACK_LIBRARY}
${LAPACK_LINKER_FLAGS}
)
- MARK_AS_ADVANCED(
- lapack_LIBRARY
- atlas_LIBRARY
- blas_LIBRARY
- ARPACK_LIBRARY
- ARPACK_DIR
- )
+ MARK_AS_ADVANCED(ARPACK_DIR)
ELSE()
SET(ARPACK_DIR "" CACHE PATH
"An optional hint to an ARPACK installation"
HDF5_INCLUDE_DIR
)
+MARK_AS_ADVANCED(
+ HDF5_LIBRARY
+ HDF5_HL_LIBRARY
+ HDF5_INCLUDE_DIR
+ )
+
IF(HDF5_FOUND)
SET(HDF5_INCLUDE_DIRS
${HDF5_INCLUDE_DIR}
SET(HDF5_WITH_MPI TRUE)
ENDIF()
- MARK_AS_ADVANCED(
- HDF5_DIR
- HDF5_LIBRARY
- HDF5_HL_LIBRARY
- HDF5_INCLUDE_DIR
- )
+ MARK_AS_ADVANCED(HDF5_DIR)
ELSE()
SET(HDF5_DIR "" CACHE PATH
"An optional hint to an hdf5 directory"
METIS_INCLUDE_DIR
)
+MARK_AS_ADVANCED(
+ METIS_LIBRARY
+ PARMETIS_LIBRARY
+ METIS_INCLUDE_DIR
+ )
+
IF(METIS_FOUND)
IF(NOT PARMETIS_LIBRARY MATCHES "-NOTFOUND")
REGEX "METIS_VER_MINOR")
STRING(REGEX REPLACE "^.*METIS_VER_MINOR.* ([0-9]+).*" "\\1" METIS_MINOR "${METIS_MINOR_STRING}")
- MARK_AS_ADVANCED(
- METIS_LIBRARY
- METIS_INCLUDE_DIR
- METIS_DIR
- )
+ MARK_AS_ADVANCED(METIS_DIR)
ELSE()
SET(METIS_DIR "" CACHE PATH
"An optional hint to a metis directory"
SCALAPACK_FOUND
)
+MARK_AS_ADVANCED(
+ DMUMPS_LIBRARY
+ MUMPS_COMMON_LIBRARY
+ MUMPS_INCLUDE_DIR
+ PORT_LIBRARY
+ )
+
IF(MUMPS_FOUND)
SET(MUMPS_INCLUDE_DIRS
${MUMPS_INCLUDE_DIR}
${SCALAPACK_LINKER_FLAGS}
)
- MARK_AS_ADVANCED(
- DMUMPS_LIBRARY
- MUMPS_COMMON_LIBRARY
- MUMPS_INCLUDE_DIR
- PORT_LIBRARY
- )
+ MARK_AS_ADVANCED(MUMPS_DIR)
ELSE()
SET(MUMPS_DIR "" CACHE PATH
"An optional hint to a mumps directory"
NETCDF_INCLUDE_DIR
)
+MARK_AS_ADVANCED(
+ NETCDF_CPLUSPLUS_LIBRARY
+ NETCDF_C_LIBRARY
+ NETCDF_INCLUDE_DIR
+ )
+
IF(NETCDF_FOUND)
SET(NETCDF_INCLUDE_DIRS
${NETCDF_INCLUDE_DIR}
${NETCDF_C_LIBRARY}
)
- MARK_AS_ADVANCED(
- NETCDF_CPLUSPLUS_LIBRARY
- NETCDF_C_LIBRARY
- NETCDF_INCLUDE_DIR
- NETCDF_DIR
- )
+ MARK_AS_ADVANCED(NETCDF_DIR)
ELSE()
SET(NETCDF_DIR "" CACHE PATH
"An optional hint to a NETCDF installation"
SC_INCLUDE_DIR
)
+MARK_AS_ADVANCED(
+ P4EST_LIBRARY
+ P4EST_INCLUDE_DIR
+ SC_LIBRARY
+ SC_INCLUDE_DIR
+ )
+
IF(P4EST_FOUND)
SET(P4EST_LIBRARIES
${P4EST_LIBRARY}
SET(P4EST_WITH_MPI TRUE)
ENDIF()
- MARK_AS_ADVANCED(
- P4EST_DIR
- P4EST_LIBRARY
- P4EST_INCLUDE_DIR
- SC_LIBRARY
- SC_INCLUDE_DIR
- )
+ MARK_AS_ADVANCED(P4EST_DIR)
ELSE()
SET(P4EST_DIR "" CACHE PATH
"An optional hint to a p4est installation/directory"
PETSC_INCLUDE_DIR_COMMON
)
+MARK_AS_ADVANCED(
+ PETSC_INCLUDE_DIR_ARCH
+ PETSC_INCLUDE_DIR_COMMON
+ PETSC_INCLUDE_DIRS
+ PETSC_LIBRARY
+ PETSC_PETSCVARIABLES
+ )
+
IF(PETSC_FOUND)
SET(PETSC_LIBRARIES
${PETSC_LIBRARY}
SET(PETSC_VERSION "${PETSC_VERSION_MAJOR}.${PETSC_VERSION_MINOR}.${PETSC_VERSION_SUBMINOR}")
- MARK_AS_ADVANCED(
- PETSC_ARCH
- PETSC_DIR
- PETSC_INCLUDE_DIR_ARCH
- PETSC_INCLUDE_DIR_COMMON
- PETSC_INCLUDE_DIRS
- PETSC_LIBRARY
- PETSC_PETSCVARIABLES
- )
+ MARK_AS_ADVANCED(PETSC_ARCH PETSC_DIR)
ELSE()
SET(PETSC_DIR "" CACHE PATH
"An optional hint to a PETSc directory"
LAPACK_FOUND
)
+MARK_AS_ADVANCED(
+ lapack_LIBRARY
+ atlas_LIBRARY
+ blas_LIBRARY
+ SCALAPACK_LIBRARY
+ BLACS_LIBRARY
+ BLACSCINIT_LIBRARY
+ BLACSF77INIT_LIBRARY
+ )
+
IF(SCALAPACK_FOUND)
SET(SCALAPACK_LIBRARIES
${SCALAPACK_LIBRARY}
${LAPACK_LINKER_FLAGS}
)
- MARK_AS_ADVANCED(
- lapack_LIBRARY
- atlas_LIBRARY
- blas_LIBRARY
- SCALAPACK_DIR
- SCALAPACK_LIBRARY
- BLACS_DIR
- BLACS_LIBRARY
- BLACSCINIT_LIBRARY
- BLACSF77INIT_LIBRARY
- )
+ MARK_AS_ADVANCED(SCALAPACK_DIR BLACS_DIR)
ELSE()
SET(SCALAPACK_DIR "" CACHE PATH
"An optional hint to a SCALAPACK directory"
PETSC_FOUND
)
+MARK_AS_ADVANCED(
+ SLEPC_DIR
+ SLEPC_INCLUDE_DIR_ARCH
+ SLEPC_INCLUDE_DIR_COMMON
+ SLEPC_INCLUDE_DIRS
+ SLEPC_LIBRARY
+ )
+
IF(SLEPC_FOUND)
SET(SLEPC_INCLUDE_DIRS
${SLEPC_INCLUDE_DIR_ARCH}
SET(SLEPC_VERSION "${SLEPC_VERSION_MAJOR}.${SLEPC_VERSION_MINOR}.${SLEPC_VERSION_SUBMINOR}")
- MARK_AS_ADVANCED(
- SLEPC_DIR
- SLEPC_INCLUDE_DIR_ARCH
- SLEPC_INCLUDE_DIR_COMMON
- SLEPC_INCLUDE_DIRS
- SLEPC_LIBRARY
- )
+ MARK_AS_ADVANCED(SLEPC_DIR)
ELSE()
SET(SLEPC_DIR "" CACHE PATH
"An optional hint to a SLEPC directory"
TBB_INCLUDE_DIR
)
+MARK_AS_ADVANCED(
+ TBB_LIBRARY
+ TBB_DEBUG_LIBRARY
+ TBB_INCLUDE_DIR
+ )
+
IF(TBB_FOUND)
- MARK_AS_ADVANCED(TBB_LIBRARY TBB_DEBUG_LIBRARY TBB_INCLUDE_DIR)
IF(NOT TBB_DEBUG_LIBRARY MATCHES "-NOTFOUND")
SET(TBB_WITH_DEBUGLIB TRUE)
SET(TBB_INCLUDE_DIRS ${TBB_INCLUDE_DIR})
+ MARK_AS_ADVANCED(TBB_DIR)
ELSE()
-
SET(TBB_DIR "" CACHE PATH
"An optional hint to a TBB installation"
)
TRILINOS_CONFIG_FOUND
)
+MARK_AS_ADVANCED(TRILINOS_CONFIG_DIR)
+
IF(TRILINOS_FOUND)
#
UNSET(EPETRA_CONFIG_H CACHE)
- MARK_AS_ADVANCED(
- TRILINOS_DIR
- TRILINOS_CONFIG_DIR
- )
-
+ MARK_AS_ADVANCED(TRILINOS_DIR)
ELSE()
-
SET(TRILINOS_DIR "" CACHE PATH
"An optional hint to a Trilinos installation"
)
LAPACK_FOUND
)
+MARK_AS_ADVANCED(
+ AMD_INCLUDE_DIR
+ AMD_LIBRARY
+ atlas_LIBRARY
+ blas_LIBRARY
+ CAMD_LIBRARY
+ CHOLMOD_LIBRARY
+ CCOLAMD_LIBRARY
+ COLAMD_LIBRARY
+ SuiteSparse_config_INCLUDE_DIR
+ SuiteSparse_config_LIBRARY
+ UMFPACK_INCLUDE_DIR
+ UMFPACK_LIBRARY
+ )
+
IF(UMFPACK_FOUND)
SET(UMFPACK_LIBRARIES
${LAPACK_LINKER_FLAGS}
)
- MARK_AS_ADVANCED(
- AMD_INCLUDE_DIR
- AMD_LIBRARY
- atlas_LIBRARY
- blas_LIBRARY
- CAMD_LIBRARY
- CHOLMOD_LIBRARY
- CCOLAMD_LIBRARY
- COLAMD_LIBRARY
- SuiteSparse_config_INCLUDE_DIR
- SuiteSparse_config_LIBRARY
- SUITESPARSE_DIR
- UMFPACK_DIR
- UMFPACK_INCLUDE_DIR
- UMFPACK_LIBRARY
- )
+ MARK_AS_ADVANCED(UMFPACK_DIR SUITESPARSE_DIR)
ELSE()
SET(UMFPACK_DIR "" CACHE PATH
"An optional hint to an UMFPACK directory"