Skip to content
Snippets Groups Projects
Commit 1d50876a authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

cmake have package rename

parent ec3a3b44
No related branches found
No related tags found
No related merge requests found
......@@ -4,7 +4,7 @@
#include "Environment.hpp"
#if HAVE_PETSC
#if AMDIS_HAS_PETSC
#include <petscsys.h>
#endif
......@@ -25,7 +25,7 @@ namespace AMDiS
Environment::Environment(int& argc, char**& argv, std::string const& initFileName)
: Environment(initFileName)
{
#if HAVE_PETSC
#if AMDIS_HAS_PETSC
PetscInitialize(&argc, &argv, PETSC_NULL, PETSC_NULL);
petscInitialized_ = true;
#endif
......@@ -45,7 +45,7 @@ namespace AMDiS
Environment::~Environment()
{
#if HAVE_PETSC
#if AMDIS_HAS_PETSC
if (petscInitialized_)
PetscFinalize();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment