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

Merge branch 'issue/cmake_have_package_rename' into 'master'

cmake have package rename

See merge request !141
parents ec3a3b44 1d50876a
No related branches found
No related tags found
1 merge request!141cmake have package rename
......@@ -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