summaryrefslogtreecommitdiff
path: root/src/Nerve_GIC/include/gudhi/GIC.h
diff options
context:
space:
mode:
authorVincent Rouvreau <10407034+VincentRouvreau@users.noreply.github.com>2019-08-29 10:02:56 +0200
committerGitHub <noreply@github.com>2019-08-29 10:02:56 +0200
commitfb082d6ae9865d148b3d851e50cdaeab00a97c81 (patch)
tree5f1ca83e20cec1be410b119622177d2a3b5ae043 /src/Nerve_GIC/include/gudhi/GIC.h
parent4d1b8c13a5ad5b1c3271b2944e8327b4937f6956 (diff)
parent87a8d7962ea13f11e591462ec5757e9e1747dc07 (diff)
Merge pull request #85 from VincentRouvreau/check_third_parties_at_compilation
Check third parties at compilation
Diffstat (limited to 'src/Nerve_GIC/include/gudhi/GIC.h')
-rw-r--r--src/Nerve_GIC/include/gudhi/GIC.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Nerve_GIC/include/gudhi/GIC.h b/src/Nerve_GIC/include/gudhi/GIC.h
index a1621ad9..fc6a2a91 100644
--- a/src/Nerve_GIC/include/gudhi/GIC.h
+++ b/src/Nerve_GIC/include/gudhi/GIC.h
@@ -5,6 +5,7 @@
* Copyright (C) 2017 Inria
*
* Modification(s):
+ * - 2019/08 Vincent Rouvreau: Fix issue #10 for CGAL
* - YYYY/MM Author: Description of the modification
*/
@@ -34,6 +35,8 @@
#include <boost/graph/subgraph.hpp>
#include <boost/graph/graph_utility.hpp>
+#include <CGAL/version.h> // for CGAL_VERSION_NR
+
#include <iostream>
#include <vector>
#include <map>
@@ -45,6 +48,11 @@
#include <cassert>
#include <cmath>
+// Make compilation fail - required for external projects - https://github.com/GUDHI/gudhi-devel/issues/10
+#if CGAL_VERSION_NR < 1041101000
+# error Alpha_complex_3d is only available for CGAL >= 4.11
+#endif
+
namespace Gudhi {
namespace cover_complex {