amdis_seq_petsc.cmake 284 Bytes
Newer Older
1
if (ENABLE_SEQ_PETSC)
Praetorius, Simon's avatar
Praetorius, Simon committed
2 3
  target_enable_mpi(amdis PUBLIC)
  target_enable_petsc(amdis PUBLIC)
4

Praetorius, Simon's avatar
Praetorius, Simon committed
5
  target_compile_definitions(amdis PUBLIC HAVE_SEQ_PETSC=1)
6 7 8 9 10

  target_sources(amdis PRIVATE
	${SOURCE_DIR}/solver/PetscSolver.cc
	${SOURCE_DIR}/solver/PetscTypes.cc)
endif (ENABLE_SEQ_PETSC)