Sébastien Loriot
1c50e0bede
Mac OS X cleaning
2024-10-10 14:21:34 +02:00
Jane Tournois
37c0b5eaa6
add gmp-10 as a hint for findGMP
...
and add GMP_DIR and MPFR_DIR as hints to find all includes and libs
2023-04-13 16:17:22 +02:00
Maxime Gimeno
e5bf52d9c6
fix indentation and remove GMP_LIBRARIES_DIR
2021-04-02 14:56:50 +02:00
Maxime Gimeno
9a4d495567
don't use generator expression
2021-04-02 14:47:46 +02:00
Maxime Gimeno
c5ebd7c88e
dichotomize multiconfig generators
2021-04-02 14:30:02 +02:00
Maxime Gimeno
16ee70bb12
Use a generator expression to determine the lib to use
2021-04-02 14:11:23 +02:00
Maxime Gimeno
87bb3b27d1
Split GMP_LIBRARIES into debug and release.
2021-04-02 12:56:05 +02:00
Laurent Rineau
d07a2c9184
Remove (GMP|MPFR)_IN_CGAL_AUXILIARY
...
There was a bug in `FindGMP.cmake` and `FindMPFR.cmake`: they were
using the undefined macro `cache_set`.
I have removed those variables definitions, and wrote the code
differently where they were used.
2019-04-04 15:25:01 +02:00
Laurent Rineau
ee61c2752c
Fix CMake scripts when GMP or MPFR is found under auxiliary/
2018-04-16 18:21:08 +02:00
Laurent Rineau
3f3f5b1a52
Do not rely on CMAKE_MODULE_PATH
2017-11-15 14:45:12 +01:00
Michel Zou
722e37c4d7
MPIR support
2016-12-23 22:32:32 +01:00
Alexander Kobel
e062c5f9e5
fixed PATH_SUFFIXES inconsistencies:
...
- proper indentation
- merge double occurences
- standardize location at the end block, before DOC
tested with GMP(XX), MPFR, MPFI, LEDA, RS(3), NTL and a (small) number of ways to specify library
locations via environment and CMake variables, on Debian 64bit
2012-10-05 12:40:10 +00:00
Alexander Kobel
160e937500
try $ENV{<PKG>_DIR}/[include,lib] as a fallback for $ENV{<PKG>_[INC,LIB]_DIR}
2012-10-04 09:34:54 +00:00
Laurent Rineau
cf1ad35e79
Better formatting of the documentation of GMP CMake modules
2012-08-02 09:50:24 +00:00
Laurent Rineau
5771a62a83
Remove CGAL_FindPackageHandleStandardArgs.cmake
...
FindPackageHandleStandardArg is a standard CMake module
2012-03-28 13:48:33 +00:00
Laurent Rineau
badcdb5871
Completely remove the support for auto-linking of GMP and MPFR
...
I have grepped for auto_link/(GMP|MFR)|AUTO_?LINK_(GMP|MPFR) and I removed
completely any support for auto-linking of GMP and MPFR from CGAL.
That is no longer necessary, nor relevant, no that we provide precompiled
GMP and MPFR libraries under standard names libgmp-10.lib and
libmpfr-4.lib.
To test in candidates:
Core
Installation
Number_types
2011-10-14 13:39:45 +00:00
Eric Berberich
eb7a5ed11e
branch-build is now HOT on next ;-)
2011-04-15 09:12:06 +00:00
Laurent Rineau
f834218870
The env variable must be searched *before* auxiliary/gmp/...
2010-06-15 18:10:23 +00:00
Laurent Rineau
fc33fbff26
Fix the library names hints of gmp and mpfr in FindMPFR.cmake and
...
FindGMP.cmake
2010-06-15 17:25:37 +00:00
Laurent Rineau
f16e5d0698
Reintegrate the work of /branches/unsorted-branches/Test-no_autolink-for-gmp_mpfr-branch/Installation:
...
If(MSVC), create CMake variables CGAL_AUTO_LINK_GMP and CGAL_AUTO_LINK_GMP
that can be set to OFF to disable the autolinking for GMP and MPFR. Those
variables are stored in the cache, and in CGALConfig.cmake
2010-06-14 16:47:06 +00:00
Laurent Rineau
55c19faa28
Fix FindMPFR.cmake and FindGMP.cmake: if CGAL_AUTO_LINK_ENABLED is false,
...
the library is found only if *_LIBRARIES is set.
2009-12-08 17:01:58 +00:00
Fernando Cacciola
4a4d927522
Moved cmake modules back (2/3)
2008-11-27 16:36:00 +00:00
Fernando Cacciola
2d5b17b9f4
renamed cmake/modules to lib/CGAL-3.4 (0/1)
2008-11-04 16:00:57 +00:00
Fernando Cacciola
d597b8c40b
Separate defintions from flags
2008-11-04 13:25:05 +00:00
Fernando Cacciola
145ee41079
Prefixed CGAL cmake modules with CGAL_
2008-11-04 12:49:32 +00:00
Fernando Cacciola
2455ef9e85
Replaced CGAL_SOURCE_DIR and CGAL_BINARY_DIR with CMAKE_SOURCE_DIR and CMAKE_BINARY_DIR
2008-10-30 13:45:04 +00:00
Fernando Cacciola
d70bdaea18
Prefixed cmake variables with CGAL_
2008-10-23 14:59:02 +00:00
Fernando Cacciola
6e36eda87b
CMake stuff moved into the appropriate packages
2008-07-16 20:56:17 +00:00