ENDMACRO()
+SET(FEATURE_METIS_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_METIS_ERROR_MESSAGE)
+ MESSAGE(SEND_ERROR "\n"
+ "Could not find the metis library!\n\n"
+ "Please ensure that the metis library version 5.0 or newer is installed on your computer.\n"
+ "If the library is not at a default location, either provide some hints\n"
+ "for the autodetection:\n"
+ " $ METIS_DIR=\"...\" cmake <...>\n"
+ " $ ccmake -DMETIS_DIR=\"...\" cmake <...>\n"
+ "or set the relevant variables by hand in ccmake.\n\n"
+ )
+ENDMACRO()
+
+
CONFIGURE_FEATURE(METIS)
MACRO(FEATURE_PETSC_ERROR_MESSAGE)
MESSAGE(SEND_ERROR "\n"
"Could not find the petsc library!\n\n"
- "Please ensure that the petsc library is installed on your computer.\n"
+ "Please ensure that the petsc library version 3.0.0 or newer is installed on your computer.\n"
"If the library is not at a default location, either provide some hints\n"
"for the autodetection:\n"
"PETSc installed with --prefix=<...> to a destination:\n"
ENDMACRO()
+SET(FEATURE_TRILINOS_CUSTOM_ERROR_MESSAGE TRUE)
+
+
+MACRO(FEATURE_TRILINOS_ERROR_MESSAGE)
+ MESSAGE(SEND_ERROR "\n"
+ "Could not find a suitable set of trilinos libraries!\n"
+ "Please ensure that all necessary libraries are installed on your computer.\n"
+ "If the libraries are not at a default location, either provide some hints\n"
+ "for the autodetection:\n"
+ " $ TRILINOS_DIR=\"...\" cmake <...>\n"
+ " $ ccmake -DTRILINOS_DIR=\"...\" cmake <...>\n"
+ "or set the relevant variables by hand in ccmake.\n\n"
+ )
+ENDMACRO()
+
+
CONFIGURE_FEATURE(TRILINOS)
"Could not find the umfpack and amd libraries!\n"
"Please ensure that the libraries are installed on your computer.\n"
"If the libraries are not at a default location, either provide some hints\n"
- "for the autodetection, or set the relevant variables by hand in ccmake.\n\n"
+ "for the autodetection:\n"
+ " $ UMFPACK_DIR=\"...\" cmake <...>\n"
+ " $ ccmake -DUMFPACK_DIR=\"...\" cmake <...>\n"
+ "or set the relevant variables by hand in ccmake.\n"
"Alternatively you may choose to compile the bundled contrib libraries\n"
"by setting DEAL_II_ALLOW_CONTRIB=on or DEAL_II_FORCE_CONTRIB_UMFPACK=on.\n\n"
)