]> https://gitweb.dealii.org/ - dealii.git/commitdiff
CMAke: Bugfix. Search for petscvariables in the right order
authorMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 10 Jul 2013 22:29:57 +0000 (22:29 +0000)
committerMatthias Maier <tamiko@kyomu.43-1.org>
Wed, 10 Jul 2013 22:29:57 +0000 (22:29 +0000)
git-svn-id: https://svn.dealii.org/trunk@29961 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/cmake/modules/FindPETSC.cmake

index b3fddfac03cb2c6faed2e68512f6c49d9f14dccd..bbe7ef4cf93b206032998e2d49bfbe02bd395376 100644 (file)
@@ -52,8 +52,8 @@ FIND_LIBRARY(PETSC_LIBRARY
 FIND_FILE(PETSC_PETSCVARIABLES
   NAMES petscvariables
   HINTS
-    ${PETSC_DIR}
     ${PETSC_DIR}/${PETSC_ARCH}
+    ${PETSC_DIR}
   PATH_SUFFIXES conf
   )
 

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.