]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfix: Export Trilinos and PETSc MPI-Wrappers even if DEAL_II_WITH_MPI=OFF
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Mar 2013 00:15:18 +0000 (00:15 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 8 Mar 2013 00:15:18 +0000 (00:15 +0000)
git-svn-id: https://svn.dealii.org/trunk@28807 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_petsc.cmake
deal.II/cmake/configure/configure_trilinos.cmake

index f0addefe65ee18e19eff3e71f45a58e8d8d0633a..bb826729aa7f452806ebee4174b531555fa8d24a 100644 (file)
@@ -95,11 +95,8 @@ MACRO(FEATURE_PETSC_CONFIGURE_EXTERNAL)
 
   SET(DEAL_II_EXPAND_PETSC_VECTOR "PETScWrappers::Vector")
   SET(DEAL_II_EXPAND_PETSC_BLOCKVECTOR "PETScWrappers::BlockVector")
-
-  IF(DEAL_II_WITH_MPI)
-    SET(DEAL_II_EXPAND_PETSC_MPI_VECTOR "PETScWrappers::MPI::Vector")
-    SET(DEAL_II_EXPAND_PETSC_MPI_BLOCKVECTOR "PETScWrappers::MPI::BlockVector")
-  ENDIF()
+  SET(DEAL_II_EXPAND_PETSC_MPI_VECTOR "PETScWrappers::MPI::Vector")
+  SET(DEAL_II_EXPAND_PETSC_MPI_BLOCKVECTOR "PETScWrappers::MPI::BlockVector")
 ENDMACRO()
 
 
index 870c8d88f72ba47714f0b0f0853963ff8e8afba8..60cea8413bf8a2e94d230fcb79e5149e1a2a4ab4 100644 (file)
@@ -191,11 +191,8 @@ MACRO(FEATURE_TRILINOS_CONFIGURE_EXTERNAL)
   SET(DEAL_II_EXPAND_TRILINOS_BLOCKVECTOR "TrilinosWrappers::BlockVector")
   SET(DEAL_II_EXPAND_TRILINOS_SPARSITY_PATTERN "TrilinosWrappers::SparsityPattern")
   SET(DEAL_II_EXPAND_TRILINOS_BLOCK_SPARSITY_PATTERN "TrilinosWrappers::BlockSparsityPattern")
-
-  IF(DEAL_II_WITH_MPI)
-    SET(DEAL_II_EXPAND_TRILINOS_MPI_BLOCKVECTOR "TrilinosWrappers::MPI::BlockVector")
-    SET(DEAL_II_EXPAND_TRILINOS_MPI_VECTOR "TrilinosWrappers::MPI::Vector")
-  ENDIF()
+  SET(DEAL_II_EXPAND_TRILINOS_MPI_BLOCKVECTOR "TrilinosWrappers::MPI::BlockVector")
+  SET(DEAL_II_EXPAND_TRILINOS_MPI_VECTOR "TrilinosWrappers::MPI::Vector")
 
   #
   #  used with -W -Wall (which includes -Wunused). Regrettable

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.