Added a link pragma for gmp.lib and mpfr.lib

This commit is contained in:
Andreas Fabri 2006-05-01 14:10:44 +00:00
parent 7eea6d21e4
commit 1b68f28b51
1 changed files with 6 additions and 0 deletions

View File

@ -499,6 +499,12 @@ make_root_of_2(const Gmpz &a, const Gmpz &b, const Gmpz &c, bool smaller)
return Root_of_2<Gmpz>(a, b, c, smaller); return Root_of_2<Gmpz>(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 CGAL_END_NAMESPACE
#endif // CGAL_GMPZ_H #endif // CGAL_GMPZ_H