UNSET(METIS_LIBRARY CACHE)
UNSET(METIS_INCLUDE_DIR CACHE)
- SET(METIS_DIR "" CACHE STRING
+ SET(METIS_DIR "" CACHE PATH
"An optional hint to a metis directory"
)
ENDIF()
UNSET(P4EST_INCLUDE_DIR CACHE)
UNSET(SC_LIBRARY CACHE)
UNSET(SC_INCLUDE_DIR CACHE)
- SET(P4EST_DIR "" CACHE STRING
+ SET(P4EST_DIR "" CACHE PATH
"An optional hint to a p4est installation/directory"
)
ELSE()
UNSET(PETSC_INCLUDE_DIR_ARCH CACHE)
UNSET(PETSC_INCLUDE_DIR_COMMON CACHE)
UNSET(PETSC_LIBRARY CACHE)
- SET(PETSC_DIR "" CACHE STRING
+ SET(PETSC_DIR "" CACHE PATH
"An optional hint to a PETSc directory"
)
SET(PETSC_ARCH "" CACHE STRING
UNSET(SLEPC_INCLUDE_DIR_ARCH CACHE)
UNSET(SLEPC_INCLUDE_DIR_COMMON CACHE)
UNSET(SLEPC_LIBRARY CACHE)
- SET(SLEPC_DIR "" CACHE STRING
+ SET(SLEPC_DIR "" CACHE PATH
"An optional hint to a SLEPc directory"
)
SET(SLEPC_ARCH "" CACHE STRING
ARPACK_DIR
)
ELSE()
- SET(ARPACK_DIR "" CACHE STRING
+ SET(ARPACK_DIR "" CACHE PATH
"An optional hint to an ARPACK installation"
)
ENDIF()
HDF5_INCLUDE_DIR
)
ELSE()
- SET(HDF5_DIR "" CACHE STRING
+ SET(HDF5_DIR "" CACHE PATH
"An optional hint to an hdf5 directory"
)
ENDIF()
METIS_DIR
)
ELSE()
- SET(METIS_DIR "" CACHE STRING
+ SET(METIS_DIR "" CACHE PATH
"An optional hint to a metis directory"
)
ENDIF()
PORT_LIBRARY
)
ELSE()
- SET(MUMPS_DIR "" CACHE STRING
+ SET(MUMPS_DIR "" CACHE PATH
"An optional hint to a mumps directory"
)
ENDIF()
NETCDF_DIR
)
ELSE()
- SET(NETCDF_DIR "" CACHE STRING
+ SET(NETCDF_DIR "" CACHE PATH
"An optional hint to a NETCDF installation"
)
ENDIF()
SC_INCLUDE_DIR
)
ELSE()
- SET(P4EST_DIR "" CACHE STRING
+ SET(P4EST_DIR "" CACHE PATH
"An optional hint to a p4est installation/directory"
)
ENDIF()
PETSC_LIBRARY
)
ELSE()
- SET(PETSC_DIR "" CACHE STRING
+ SET(PETSC_DIR "" CACHE PATH
"An optional hint to a PETSc directory"
)
SET(PETSC_ARCH "" CACHE STRING
BLACSF77INIT_LIBRARY
)
ELSE()
- SET(SCALAPACK_DIR "" CACHE STRING
+ SET(SCALAPACK_DIR "" CACHE PATH
"An optional hint to a SCALAPACK directory"
)
- SET(BLACS_DIR "" CACHE STRING
+ SET(BLACS_DIR "" CACHE PATH
"An optional hint to a BLACS directory"
)
ENDIF()
SLEPC_LIBRARY
)
ELSE()
- SET(SLEPC_DIR "" CACHE STRING
+ SET(SLEPC_DIR "" CACHE PATH
"An optional hint to a SLEPC directory"
)
SET(SLEPC_ARCH "" CACHE STRING
ELSE()
- SET(TRILINOS_DIR "" CACHE STRING
+ SET(TRILINOS_DIR "" CACHE PATH
"An optional hint to a Trilinos installation"
)
ENDIF()
SUITESPARSE_DIR
)
ELSE()
- SET(UMFPACK_DIR "" CACHE STRING
+ SET(UMFPACK_DIR "" CACHE PATH
"An optional hint to an UMFPACK directory"
)
- SET(SUITESPARSE_DIR "" CACHE STRING
+ SET(SUITESPARSE_DIR "" CACHE PATH
"An optional hint to a SUITESPARSE directory"
)
ENDIF()
"global" variables prefixed by <code>FEATURE_</code> may be
altered. Do not set <code>DEAL_II_*</code> or <code>CMAKE_*</code>
variables directly!
+ <li>
+ A hint with <code>FEATURE_DIR</code> can be set up for
+ convenience. It is best to start the <code>Find</code> module by
+ <pre>
+
+ SET_IF_EMPTY(FEATURE_DIR "$ENV{FEATURE_DIR}")
+ </pre>
+ and use <code>FEATURE_DIR</code> as a hint. If the external
+ library could be found, hide it via
+ <code>MARK_AS_ADVANCED</code>, if the external library could not
+ be found, set a cache value:
+ <pre>
+
+ SET(FEATURE_DIR "" CACHE PATH "An optional hint to a FEATURE directory")
+ </pre>
</ul>