]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Use an existing macro to set the default indices to 32bit.
authorturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 1 Jun 2013 00:38:29 +0000 (00:38 +0000)
committerturcksin <turcksin@0785d39b-7218-0410-832d-ea1e28bc413d>
Sat, 1 Jun 2013 00:38:29 +0000 (00:38 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_bigger_global_dof_indices_4@29712 0785d39b-7218-0410-832d-ea1e28bc413d

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

index c2c3c903fb07ac8a46719424240c8e831520ae5a..43f0486b7a30f6974b3fbfd91e5a7d20484c1e06 100644 (file)
@@ -74,9 +74,7 @@ MACRO(FEATURE_PETSC_FIND_EXTERNAL var)
     # indices support is enabled.
     # So we check for this:
     #
-    IF("${DEAL_II_WITH_64BIT_INDICES}" STREQUAL "")
-      SET(DEAL_II_WITH_64BIT_INDICES "OFF")
-    ENDIF()
+    SET_IF_EMPTY(DEAL_II_WITH_64BIT_INDICES "OFF")
 
     IF( (NOT PETSC_WITH_64BIT_INDICES AND DEAL_II_WITH_64BIT_INDICES)
          OR
index b780b0bed5d7e5e245c3dedce82898041d824a61..2d898cbc84bd9f724346d1cbcc3758bf562dbfe4 100644 (file)
@@ -119,9 +119,7 @@ MACRO(FEATURE_TRILINOS_FIND_EXTERNAL var)
     # Trilinos has to be configured with 32bit indices if deal.II uses unsigned long
     # long int.
     #
-    IF("${DEAL_II_WITH_64BIT_INDICES}" STREQUAL "")
-      SET(DEAL_II_WITH_64BIT_INDICES "OFF")
-    ENDIF()
+    SET_IF_EMPTY(DEAL_II_WITH_64BIT_INDICES "OFF")
 
     IF(TRILINOS_WITH_NO_32BIT_INDICES AND NOT DEAL_II_WITH_64BIT_INDICES)
       MESSAGE(STATUS "deal.II was configured to use 32bit global indices but "

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.