do not use Boost exact nt backend by default

This commit is contained in:
Sébastien Loriot 2023-05-10 17:31:45 +02:00
parent abbebe4ed7
commit 0e8a6286cd
1 changed files with 13 additions and 15 deletions

View File

@ -142,23 +142,21 @@ struct Exact_NT_backend<MP_FLOAT_BACKEND>
#ifndef CMAKE_OVERRIDDEN_DEFAULT_ENT_BACKEND #ifndef CMAKE_OVERRIDDEN_DEFAULT_ENT_BACKEND
constexpr ENT_backend_choice Default_exact_nt_backend = constexpr ENT_backend_choice Default_exact_nt_backend =
#if BOOST_VERSION > 107900 && defined(CGAL_USE_BOOST_MP) #ifdef CGAL_USE_GMPXX
BOOST_BACKEND; GMPXX_BACKEND;
#else // BOOST_VERSION > 107900 #elif defined(CGAL_USE_GMP)
#ifdef CGAL_USE_GMPXX #if defined(CGAL_USE_BOOST_MP)
GMPXX_BACKEND; BOOST_GMP_BACKEND;
#elif defined(CGAL_USE_GMP)
#if defined(CGAL_USE_BOOST_MP)
BOOST_GMP_BACKEND;
#else
GMP_BACKEND;
#endif
#elif defined(CGAL_USE_LEDA)
LEDA_BACKEND;
#else #else
MP_FLOAT_BACKEND; GMP_BACKEND;
#endif #endif
#endif // BOOST_VERSION > 107900 #elif BOOST_VERSION > 107900 && defined(CGAL_USE_BOOST_MP)
BOOST_BACKEND;
#elif defined(CGAL_USE_LEDA)
LEDA_BACKEND;
#else
MP_FLOAT_BACKEND;
#endif
#else #else
constexpr ENT_backend_choice Default_exact_nt_backend = static_cast<ENT_backend_choice>(CMAKE_OVERRIDDEN_DEFAULT_ENT_BACKEND); constexpr ENT_backend_choice Default_exact_nt_backend = static_cast<ENT_backend_choice>(CMAKE_OVERRIDDEN_DEFAULT_ENT_BACKEND);
#endif #endif