]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Bugfixes
authormaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Sep 2012 15:56:34 +0000 (15:56 +0000)
committermaier <maier@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 24 Sep 2012 15:56:34 +0000 (15:56 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_cmake@26672 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/configure/configure_petsc.cmake
deal.II/include/deal.II/base/config.h.in

index 21024c2b9453a0a682e9806db761ffa1876384fa..67bbe8a50378323e9fccb98543a7314465f781cc 100644 (file)
@@ -64,7 +64,7 @@ MACRO(FEATURE_PETSC_CONFIGURE_EXTERNAL var)
   # a completely obnoxious way with boost.
   # TODO: Obosolete?
   #
-  ADD_DEFINITIONS(-DPETSC_SKIP_UNDERSCORE_CHKERR)
+  SET(PETSC_SKIP_UNDERSCORE_CHKERR TRUE)
 
   #
   # Set some definitions for config.h:
index a4c45ea68321674319ed29ba8a75681022bdac5c..dcdee6361ee9ac4d79a21cd13d2ab0d1a82fe04f 100644 (file)
 /* Defined if a PETSc installation was found and is going to be used */
 #cmakedefine DEAL_II_USE_PETSC
 
-/* Define the PETSC version number: */
-#cmakedefine PETSC_VERSION_MAJOR @PETSC_VERSION_MAJOR@
-#cmakedefine PETSC_VERSION_MINOR @PETSC_VERSION_MINOR@
-#cmakedefine PETSC_VERSION_SUBMINOR @PETSC_VERSION_SUBMINOR@
-#cmakedefine PETSC_VERSION_SUBMINOR @PETSC_VERSION_SUBMINOR@
+/* Note: PETSCs version numbers will be directly included from
+ * petscversion.h
+ */
 
 /* Defined if a PETSc installation was found with complex scalar type and is
  * going to be used

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.