mirror of https://github.com/CGAL/cgal
do not use Boost exact nt backend by default
This commit is contained in:
parent
abbebe4ed7
commit
0e8a6286cd
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue