From e48a2c8bcd3bafec94e66daac0cc5d79baf186a4 Mon Sep 17 00:00:00 2001 From: Laurent Rineau Date: Tue, 23 Mar 2010 14:58:01 +0000 Subject: [PATCH] Make test_meshing.cpp compile even if CORE is not here. --- Mesh_2/test/Mesh_2/test_meshing.cpp | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Mesh_2/test/Mesh_2/test_meshing.cpp b/Mesh_2/test/Mesh_2/test_meshing.cpp index 5798adb3304..c9bfbef7b2d 100644 --- a/Mesh_2/test/Mesh_2/test_meshing.cpp +++ b/Mesh_2/test/Mesh_2/test_meshing.cpp @@ -1,6 +1,9 @@ // 154 515 565 +#include #include -#include +#if CGAL_USE_CORE || CGAL_USE_LEDA +# include +#endif #include #include #include @@ -191,14 +194,18 @@ struct Tester2 { }; struct K_e_i : public CGAL::Exact_predicates_inexact_constructions_kernel {}; +#if CGAL_USE_CORE || CGAL_USE_LEDA struct K_e_e : public CGAL::Exact_predicates_exact_constructions_kernel_with_sqrt {}; +#endif int main() { std::cerr << "TESTING WITH Exact_predicates_inexact_constructions_kernel...\n\n"; Tester tester1; tester1(); +#if CGAL_USE_CORE || CGAL_USE_LEDA // std::cerr << "\n\nTESTING WITH Exact_predicates_exact_constructions_kernel_with_sqrt...\n\n"; // Tester tester2; // tester2(); +#endif };