]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Fix SLEPc libraries for slepc-dev
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 12:33:37 +0000 (12:33 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 6 Sep 2011 12:33:37 +0000 (12:33 +0000)
git-svn-id: https://svn.dealii.org/trunk@24264 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/common/Make.global_options.in

index c552fab6492417e675f5502e138258e1a522b146..c2537970467178835f81c447be0294764df79b22 100644 (file)
@@ -279,6 +279,9 @@ else
 endif
 include-path-slepc           = $(DEAL_II_SLEPC_DIR)/include
 include-path-slepc-conf      = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/conf
+ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
+  include-path-slepc-include = $(DEAL_II_SLEPC_DIR)/$(DEAL_II_PETSC_ARCH)/include
+endif
 include-path-trilinos        = $(DEAL_II_TRILINOS_INCDIR)
 include-path-mumps           = $(DEAL_II_MUMPS_DIR)/include
 
@@ -312,6 +315,9 @@ endif
 
 ifeq ($(USE_CONTRIB_SLEPC),yes)
   INCLUDE += -I$(include-path-slepc) -I$(include-path-slepc-conf)
+ifeq ($(DEAL_II_PETSC_VERSION_DEV),yes)
+  INCLUDE += -I$(include-path-slepc-include)
+endif
 endif
 
 ifeq ($(USE_CONTRIB_TRILINOS),yes)

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.