From bf1aaf74846347d7eef70f66d96a19654aabc242 Mon Sep 17 00:00:00 2001 From: vrouvrea Date: Thu, 18 Dec 2014 14:39:50 +0000 Subject: CGAL version git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@384 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 302b240369c51d23deb38a72436e414d4250dc1d --- CMakeLists.txt | 2 +- src/CMakeLists.txt | 6 ++++++ src/Simplex_tree/include/gudhi/Simplex_tree.h | 5 ++--- 3 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 450b8f69..ea99565a 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -26,7 +26,7 @@ find_package(GMP) if(GMP_FOUND) find_package(GMPXX) endif() -find_package(CGAL) +find_package(CGAL 4.4) # Required programs for unitary tests purpose FIND_PROGRAM( LCOV_PATH lcov ) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index dcdf6e87..b15cfe98 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -18,6 +18,12 @@ endif() add_definitions(-DBOOST_RESULT_OF_USE_DECLTYPE) find_package(Boost) +find_package(GMP) +if(GMP_FOUND) + find_package(GMPXX) +endif() +find_package(CGAL 4.4) + if(NOT Boost_FOUND) message(FATAL_ERROR "NOTICE: This demo requires Boost and will not be compiled.") else() diff --git a/src/Simplex_tree/include/gudhi/Simplex_tree.h b/src/Simplex_tree/include/gudhi/Simplex_tree.h index 95f26510..c866d179 100644 --- a/src/Simplex_tree/include/gudhi/Simplex_tree.h +++ b/src/Simplex_tree/include/gudhi/Simplex_tree.h @@ -38,7 +38,7 @@ namespace Gudhi { - +/** \defgroup simplex_tree Filtered Complexes /** \defgroup simplex_tree Filtered Complexes * * A simplicial complex \f$\mathbf{K}\f$ @@ -117,8 +117,7 @@ class Simplex_tree { friend class Simplex_tree_complex_simplex_iterator< Simplex_tree >; friend class Simplex_tree_skeleton_simplex_iterator< Simplex_tree >; - - + /* \brief Set of nodes sharing a same parent in the simplex tree. */ /* \brief Set of nodes sharing a same parent in the simplex tree. */ typedef Simplex_tree_siblings Siblings; -- cgit v1.2.3