amdis_seq_petsc.cmake 287 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10
if (ENABLE_SEQ_PETSC)
  target_enable_mpi(amdis PRIVATE)
  target_enable_petsc(amdis PRIVATE)

  target_compile_definitions(amdis PRIVATE HAVE_SEQ_PETSC=1)

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