From a422a0bf132d730ecedeb934d6b2e34f0277ca91 Mon Sep 17 00:00:00 2001
From: Matti Pellika <matti.pellikka@tut.fi>
Date: Mon, 28 Jan 2013 08:42:20 +0000
Subject: [PATCH] Enable KBIPACK, i.e. homology and cohomology computation,
 even when the GMP library is not available.

---
 CMakeLists.txt | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4125fbb710..19c95c975f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -537,6 +537,10 @@ if(ENABLE_KBIPACK)
     add_subdirectory(contrib/kbipack)
     include_directories(contrib/kbipack)
     set_config_option(HAVE_KBIPACK "Kbipack")
+  else(GMP_LIB AND GMP_INC)
+    add_subdirectory(contrib/kbipack)
+    include_directories(contrib/kbipack)
+    set_config_option(HAVE_KBIPACK "Kbipack")
   endif(GMP_LIB AND GMP_INC)
 endif(ENABLE_KBIPACK)
 
-- 
GitLab