From 1b68f28b51cd8b999f734c8c6178a7a1ac24b8e8 Mon Sep 17 00:00:00 2001 From: Andreas Fabri Date: Mon, 1 May 2006 14:10:44 +0000 Subject: [PATCH] Added a link pragma for gmp.lib and mpfr.lib --- Number_types/include/CGAL/Gmpz.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Number_types/include/CGAL/Gmpz.h b/Number_types/include/CGAL/Gmpz.h index 63bc068461f..50a66ede604 100644 --- a/Number_types/include/CGAL/Gmpz.h +++ b/Number_types/include/CGAL/Gmpz.h @@ -499,6 +499,12 @@ make_root_of_2(const Gmpz &a, const Gmpz &b, const Gmpz &c, bool smaller) return Root_of_2(a, b, c, smaller); } + +#if ! defined( CGAL_DONT_USE_LINK_PRAGMA) && defined( _MSC_VER ) + #pragma comment(lib, "gmp.lib") + #pragma comment(lib, "mpfr.lib") +#endif + CGAL_END_NAMESPACE #endif // CGAL_GMPZ_H