From 6e0803ed12b2932e73423d5ef3e896bf6b60b484 Mon Sep 17 00:00:00 2001
From: Thomas Witkowski <thomas.witkowski@gmx.de>
Date: Thu, 31 Mar 2011 08:14:11 +0000
Subject: [PATCH] Fixed small problem when compiling parallel AMDiS with cmake
 without Zoltan support.

---
 AMDiS/src/parallel/ZoltanPartitioner.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/AMDiS/src/parallel/ZoltanPartitioner.cc b/AMDiS/src/parallel/ZoltanPartitioner.cc
index e652e69a..6053565b 100644
--- a/AMDiS/src/parallel/ZoltanPartitioner.cc
+++ b/AMDiS/src/parallel/ZoltanPartitioner.cc
@@ -9,6 +9,7 @@
 //
 // See also license.opensource.txt in the distribution.
 
+#ifdef HAVE_ZOLTAN
 
 #include <boost/lexical_cast.hpp>
 #include "parallel/ZoltanPartitioner.h"
@@ -535,3 +536,5 @@ namespace AMDiS {
 
 
 }
+
+#endif
-- 
GitLab