mirror of https://github.com/CGAL/cgal
Do not use #warning
This commit is contained in:
parent
451e9e9b26
commit
3dd497f2b6
|
|
@ -27,11 +27,11 @@
|
|||
|
||||
#if defined(__has_include)
|
||||
# if CGAL_USE_GMP && ! __has_include(<gmp.h>)
|
||||
# warning "<gmp.h> cannot be found. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose."
|
||||
# pragma CGAL_WARNING(<gmp.h> cannot be found. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.)
|
||||
# undef CGAL_USE_GMP
|
||||
# undef CGAL_USE_MPFR
|
||||
# elif CGAL_USE_MPFR && ! __has_include(<mpfr.h>)
|
||||
# warning "<mpfr.h> cannot be found and the GMP support in CGAL requires it. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose."
|
||||
# pragma CGAL_WARNING(<mpfr.h> cannot be found and the GMP support in CGAL requires it. Less efficient number types will be used instead. Define CGAL_NO_GMP=1 if that is on purpose.)
|
||||
# undef CGAL_USE_GMP
|
||||
# undef CGAL_USE_MPFR
|
||||
# endif // CGAL_USE_MPFR and no <mpfr.h>
|
||||
|
|
|
|||
Loading…
Reference in New Issue