diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-08-20 17:05:13 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-08-20 17:05:13 +0200 |
commit | 87a8d7962ea13f11e591462ec5757e9e1747dc07 (patch) | |
tree | 5f1ca83e20cec1be410b119622177d2a3b5ae043 /src/Nerve_GIC | |
parent | ed59f5bf1b35269cf4324dbb72df863bf50dac01 (diff) |
Fix issue #10 and modify main and installation documentations accordingly
Diffstat (limited to 'src/Nerve_GIC')
-rw-r--r-- | src/Nerve_GIC/include/gudhi/GIC.h | 8 |
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 { |