From b5f44bdac113c22a9c7b363b53bac25b2276f3c2 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Tue, 4 Apr 2023 10:55:31 +0100 Subject: [PATCH] Activate workaround only for boost < 1.79 --- Installation/include/CGAL/config.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Installation/include/CGAL/config.h b/Installation/include/CGAL/config.h index 422c4600825..38e6788a438 100644 --- a/Installation/include/CGAL/config.h +++ b/Installation/include/CGAL/config.h @@ -598,6 +598,8 @@ inline std::string data_file_path(const std::string& filename) } // end namespace CGAL +#if BOOST_VERSION < 107900 + // Workaround for an accidental enable if of Eigen::Matrix in the // boost::multiprecision::cpp_int constructor for some versions of // boost @@ -650,4 +652,6 @@ namespace boost { } } +#endif + #endif // CGAL_CONFIG_H