ENDIF()
ENDFOREACH()
- FOREACH(_optional_module
- ROL
- )
- ITEM_MATCHES(_module_found ${_optional_module} ${Trilinos_PACKAGE_LIST})
- IF(_module_found)
- MESSAGE(STATUS "Found ${_optional_module}")
- SET(DEAL_II_TRILINOS_WITH_${_optional_module} ON)
- ELSE()
- MESSAGE(STATUS "Module ${_optional_module} not found!")
- ENDIF()
- ENDFOREACH()
-
IF(NOT ${var})
MESSAGE(STATUS "Could not find a sufficient Trilinos installation: "
"Missing ${_modules_missing}"
ENDIF()
CHECK_MPI_INTERFACE(TRILINOS ${var})
+
+ IF (${var})
+ FOREACH(_optional_module ROL Zoltan)
+ ITEM_MATCHES(_module_found ${_optional_module} ${Trilinos_PACKAGE_LIST})
+ IF(_module_found)
+ MESSAGE(STATUS "Found ${_optional_module}")
+ STRING(TOUPPER "${_optional_module}" _optional_module_upper)
+ SET(DEAL_II_TRILINOS_WITH_${_optional_module_upper} ON)
+ ELSE()
+ MESSAGE(STATUS "Module ${_optional_module} not found!")
+ ENDIF()
+ ENDFOREACH()
+ ENDIF()
ENDIF()
ENDMACRO()
/* cmake/configure/configure_2_trilinos.cmake */
#cmakedefine DEAL_II_TRILINOS_CXX_SUPPORTS_SACADO_COMPLEX_RAD
#cmakedefine DEAL_II_TRILINOS_WITH_ROL
+#cmakedefine DEAL_II_TRILINOS_WITH_ZOLTAN
/*
* Depending on the use of threads, we will have to make some variables